Title: Jonski's Replies | WordPress.org

---

# Jonski

  [  ](https://wordpress.org/support/users/jonski/)

 *   [Profile](https://wordpress.org/support/users/jonski/)
 *   [Topics Started](https://wordpress.org/support/users/jonski/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jonski/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jonski/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jonski/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jonski/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jonski/favorites/)

 Search replies:

## Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [sites randomly being marked as spam](https://wordpress.org/support/topic/sites-randomly-being-marked-as-spam/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/sites-randomly-being-marked-as-spam/#post-2213008)
 * “Ah ha! So glad I found this thread, I at least know I’m not crazy”
 * me too – cheers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [single_cat_title slug?](https://wordpress.org/support/topic/single_cat_title-slug/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/single_cat_title-slug/#post-438367)
 * I think I understand.. I think you want wp_list_categories() to dislay the post
   categories, and wp_get_links() to display the links.
 * [http://codex.wordpress.org/Template_Tags/wp_list_categories](http://codex.wordpress.org/Template_Tags/wp_list_categories)
 * [http://codex.wordpress.org/Template_Tags/wp_get_links](http://codex.wordpress.org/Template_Tags/wp_get_links)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Get the category id on the archive page](https://wordpress.org/support/topic/get-the-category-id-on-the-archive-page/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/get-the-category-id-on-the-archive-page/#post-539938)
 * There may be an easier way than this, I tend to stumble around until I find something
   that works, but I wanted the slug so…
 * $this_category = get_category($cat);
    echo $this_category->category_nicename;
 * ..gives you the slug. You can see all the info that is available that way by 
   having a nosey around in the database, but there may be a list somewhere.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Get the category id on the archive page](https://wordpress.org/support/topic/get-the-category-id-on-the-archive-page/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/get-the-category-id-on-the-archive-page/#post-539936)
 * I just needed that.. apparently the variable $cat holds the current category 
   ID.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [single_cat_title slug?](https://wordpress.org/support/topic/single_cat_title-slug/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/single_cat_title-slug/#post-438365)
 * I was just looking at this. If you are in a category archive, this should give
   you the category slug.
 * $this_category = get_category($cat);
    echo $this_category->category_nicename;
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can I list only top level cats with wp_list_categories()?](https://wordpress.org/support/topic/can-i-list-only-top-level-cats-with-wp_list_categories/)
 *  Thread Starter [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/can-i-list-only-top-level-cats-with-wp_list_categories/#post-548149)
 * I have managed to get the info out of the db, if anyone else needs to do this
   this will give you the top level cats;
 * $tlcs=wpdb->get_results(“SELECT * FROM $wpdb->categories WHERE category_parent
   =0 ORDER BY cat_name”);
 * ..but there may be an easier way to do this.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Is there any way to list only top level categories?](https://wordpress.org/support/topic/is-there-any-way-to-list-only-top-level-categories/)
 *  Thread Starter [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/is-there-any-way-to-list-only-top-level-categories/#post-552039)
 * Cheers, I did try that but no effect, maybe I did something wrong, or maybe it
   doesn’t work any more since that function is defecated.. or whatever.
 * I have finally managed to get the info out of the db, if anyone else needs to
   do this this will give you the top level cats;
 * $tlcs=wpdb->get_results(“SELECT * FROM $wpdb->categories WHERE category_parent
   =0 ORDER BY cat_name”);
 * ..but there may be an easier way to do this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [My WordPress Hacked](https://wordpress.org/support/topic/my-wordpress-hacked/)
 *  Thread Starter [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/my-wordpress-hacked/#post-416890)
 * I’m back! I was away a little longer than expected. My logs are not archived!
   I’ve never looked before, if I had looked on the day they would have been there
   but I just presumed they would be there for more than a day. oops.
 * Although I did use it once I am fairly sure I didn’t use fantastico with this
   install.
 * It is a bit worrying. There is nothing to stop it happening again.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [My WordPress Hacked](https://wordpress.org/support/topic/my-wordpress-hacked/)
 *  Thread Starter [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/my-wordpress-hacked/#post-416388)
 * It happened today, they edited an existing post.
 * I have to go now but I will see if I can get the logs later and contact you. 
   Thanks.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [My WordPress Hacked](https://wordpress.org/support/topic/my-wordpress-hacked/)
 *  Thread Starter [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/my-wordpress-hacked/#post-416381)
 * The site hacked is something not yet live (although it is online) so I have decided
   to leave for a bit so you can have a look.
    php info here [http://www.footyclub.com/info.php](http://www.footyclub.com/info.php)
 * The WP site is at
    [http://www.footyclub.com/football/](http://www.footyclub.com/football/)
 * I just want to find out what happened so I can stop it happening to my other 
   WP sites that are live.
 * I will send that email – cheers.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error: WordPress DataBase Error](https://wordpress.org/support/topic/error-wordpress-database-error/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/error-wordpress-database-error/#post-194314)
 * The error is fixed by emptying the /tmp folder. Unfortunately mine is filling
   up every day with what seem to be wordpress cache files.
 * WordPress database error: [Can’t create/write to file ‘/tmp/#sql_65cd_0.MYI’ (
   Errcode: 122)]
 * /tmp fills up with files with names like…
    tmp4BkZcV tmp8VjgGm tmpCn3A5Z tmpHD9en3
   tmpLatjxg tmpQ6apT5 tmpUWLtqx tmpZ0P8Nf tmpdVanrf tmpiCyvvC tmpmeazaC tmpr6TUGZ
   tmpvTFsts tmpzwEo2f tmp4CJbgQ tmp8W11C6 tmpCnRoSE
 * and contents like…
    <?php //s:10:”ISO-8859-1″; ?>
 * or
    <?php //s:4:”/uk/”; ?>
 * (WP 2.0.1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Terms2posts](https://wordpress.org/support/topic/terms2posts/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/terms2posts/#post-349922)
 * I tried it on another site, another server, but no luck. I don’t think it works.
   Has anyone got an example of this up and running?
 * (extract terms plugin, terms2tags, terms2search or the terms2posts plugin)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Terms2posts](https://wordpress.org/support/topic/terms2posts/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/terms2posts/#post-349920)
 * Me too. Double checked everything, same with terms2tags and terms2search. I think
   it must be some kind of failure to connect to/get anything back from Yahoo. 🙁
 * Anyone know what we are missing?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Anchor Links in a Page?](https://wordpress.org/support/topic/anchor-links-in-a-page/)
 *  [Jonski](https://wordpress.org/support/users/jonski/)
 * (@jonski)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/anchor-links-in-a-page/#post-257326)
 * Not for me using the html editor in WP 2.0.1
 * The named anchors are duplicated, the bookmark links are mangled and everything
   goes very strange in the rich text editor window.
 * anyone else?

Viewing 14 replies - 1 through 14 (of 14 total)