gavinhope
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to create a “category loop”?Hey,
OK so I added the function to my functions.php file, no problems.
I’ve called the function, in a page, like this:
<p> Full category listing: </p> <ul> <?php show_categories(); ?> </ul>It just doesn’t work, I don’t get it…
If someone could take a look at the two pages I’m talking about? This page here has two links at the very top, one to an archive page and the other to a category listing. One works, the other doesn’t:
http://www.afterbang.co.uk/links/
Any ideas why categories aren’t working?
Forum: Fixing WordPress
In reply to: How to create a “category loop”?OK, thanks
Forum: Fixing WordPress
In reply to: How to create a “category loop”?Hey,
I’m having troubles with the standard wp_list_categories. For some reason it won’t “work” in one of my pages. (I’ve got Exec-PHP installed).
Do you think it’s worth trying the function above?
Can you access functions.php via the dashboard, or do I need to find the file manually?
Cheers
Forum: Fixing WordPress
In reply to: Basic Category Listing in Standard PageHey gen1ux,
it’s the category listing that is giving me the problem. The theme that I selected when I started with wordpress had a call to wp_list_categories in the sidebar.php.
I want to take the category list out of the sidebar and put it into it’s own page, which is linked from the menu.
After a quick search, I found that I needed a plug-in to be able to execute php in either a page or a regular post – so I installed the EXEC-PHP plugin.
So I have two pages in my menu, one for the archives and one for the categories. The confusing thing is that the archives php works fine. The categories call produces nothing.
Questions:
– even with Exec-PHP installed, are you suggesting that I would need to make sure that php files and css files are in the right place?
– is there another plugin, different to Exec-PHP that might help me?Cheers, Gavin
Forum: Fixing WordPress
In reply to: problem with wp_list_categories in footerHey, when you say error in the php code of the sidebar, what do yo mean?
I’m trying the basic:
wp_list_categoriesin a page, and it doesn’t work.
I’ve got the same call in my sidebar.php and it works there fine.I’ve installed a plugin to allow php execution in articles, and the archive list is working just fine in a page…
Cheers, Gavin
Forum: Fixing WordPress
In reply to: Basic Category Listing in Standard PageI forgot to mention that I’ve disabled the Visual Editor for my user settings.
Cheers