Jump to content

the_toolman

Members
  • Content Count

    25
  • Joined

  • Last visited

Community Reputation

0 Neutral

About the_toolman

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the reply. I have also seen that I can reorder them by going to Structure > and then click reorder and it seems to have save the order.
  2. Hi, Thanks for the reply. So If I were to use the second method, I would use the following: SELECT firstname , lastname , email FROM tests.wp_d8zma; (my table is called tests and the database called wp_d8zma Will this keep the order each time I log into phpmyadmin? Thanks!
  3. Hi there, Is it possible to reorder columns in phpmyadmin and have them remain in that place next time I visit? At the moment, I can drag and re-order them, but when I log back into phpmyadmin, they are reset. Does anyone know if this is possible? Maybe there is a query I can run? Thanks!
  4. Hi there, I am trying to wrap some content in a div, but when I render it, it is outputting the actual HTML. This is the line I have: add_filter( 'woocommerce_product_description_heading', 'rename_product_description_heading', 10, 1 ); function rename_product_description_heading( $heading ) { return __( '<div class="myclass">Additional Information</div>', 'woocommerce' ); } which is outputting: <div class="myclass">Additional Information</div> rather than wrapping it in the div. Can anyone help me with wrapping the
  5. Hi there, I am trying to write a simple piece of code that will display a little text phrase on every Friday 13th in any year. How would I best go about doing this? Thank you.
  6. I did ask on their forum under general chit chat and they said it has been there a long time with custom setup and development. It was mainly the design and usability that I liked, so wondered if it was based on an existing script.
  7. Hi, Thanks for the reply and the link to the interview, very useful! Yes I saw all the tracking info when looking at builtwith.com. I'll keep digging
  8. Hi there, I'm wondering if anyone can tell me a way to find out what software this forum is using: https://www.englishforums.com/English/ I've tried looking at the source, but can't find much. Are there any tools out there that can scan the website for software used? Thanks
  9. Sorry, that last line wasn't meant to be there... that we me trying to replace the comma with "nothing" to remove it. $category_name = str_replace( ',', '', $cat_name);
  10. Thanks for the reply. I ended up with this code to remove spaces too. I now have an issue with the category's displaying a comma in the classes, for example: <span class="movies,-film-and-tv"></span> Could anyone tell me how can I remove the comma from the string? $cat_name = $subterms->name; $amp = array('&', ' '); $and = array('and', '-'); $category_name = str_replace($amp, $and, strtolower($cat_name) ); $category_name = str_replace( ',', '', $cat_name); Thanks
  11. I used this in the end: $cat_name = $subterms->name; $amp = array(" & "); $and = array("-and-"); $category_name = str_replace($amp, $and, strtolower($cat_name) );
  12. I am not sure where the job_listing_function is - I don't know much about PHP. This is the contents of the page I am editing: <?php /* * Helpers */ function jobseek_partition( $list, $p ) { $listlen = count( $list ); $partlen = floor( $listlen / $p ); $partrem = $listlen % $p; $partition = array(); $mark = 0; for ($px = 0; $px < $p; $px++) { $incr = ($px < $partrem) ? $partlen + 1 : $partlen; $partition[$px] = array_slice( $list, $mark, $incr ); $mark += $incr; } return $partition; } /** * Limits number of words fr
  13. Hi, I have come up with another solution: $category_name = str_replace(' ', '-', strtolower($subterms->name)); This works, but it is keeping the "&" in the category names. for example: food-&-drink How can I replace the "&" with "and" ? Thanks
  14. Hi, It's using WordPress with WP-Job Manager plugin
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.