Category Page Extender Plugin
-
Hi,
i would like to use the category page plugin by pixline. http://categorypageextender.wordpress.com/
I installed the plugin and customized it and then i copied the code to the page.php of the theme but i can’t see a result?
<?php if( function_exists(page2cat_pages)){
page2cat_pages(get_the_ID());
} ?>Could you help me please.
THX
Please put your code between backticks. I’ve added them in your first post.
You really shouldn’t edit core Graphene files. Instead, you can create a new page template and add it to your graphene directory. Then, in the page template, you can create a new div, and insert your code from above.
I’m not sure where you inserted the code in page.php. But, it would have needed to be inserted in an area where it will be visible on the page.
Try creating a new file (my_categories.php) in your graphene root directory. The file should look something like this:
<?php
/*
Template Name: My Custom Categories
*/
get_header();
if( function_exists(page2cat_pages)){
page2cat_pages(get_the_ID());
}
get_footer();
?>This is untested, but give it a try.
Oh, once you created your custom page template. When you go to your editor to create a new page.. look over on the right for templates. In the dropdown, choose “My Custom Categories” as your page template.
Hi Josh,
i tried like you explained it but nothing happens? The site is http://www.predatorhunters.at/ and a tried it with a test page under guiding.
Do you have any idea what is running wrong?
Please help me.
THX
Mod
Any plugin that requires you to modify theme core files or WP core files is not worth the trouble most of the time.
Use Kalin’s Post List Plugin, which will do exactly what you want with much less effort. Here is a tutorial:
http://blog.kjodle.net/2011/10/30/kalins-post-list-a-brief-tutorial/
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
