didjmaster
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Sidebar Per Page@frumph –
I am trying to do a similar thing, but with post pages under one category. So, only posts under a specific category will get unique sidebar.
I am running “The Station,” a theme from Woothemes, and it is giving me some code that you mentioned above in the sidebar.php file:
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Links’) ) : ?><?php endif; ?>
I don’t know how to use this syntax within an “if/else” statement because of the colon toward the end. I want it to basically use the existing sidebars built into the theme; however use an “if” statement to point to a different sidebar for one particular category.
I have already tried to make this change within the single.php file, but for some reason it doesn’t work. It shows the new sidebar, but doesn’t seem to take much notice of the “if/else” statement, so it shows that sidebar for everything – including posts which do not fall under that category.
Any thoughts?
Thanks
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] Templates Not Found@mitchoyoshitaka, thanks for your help. I, too, uploaded the entire template FOLDER into the theme, instead of each of the files themselves. I guess this might be made a little more clear in the installation of the plugin.
Forum: Plugins
In reply to: [PlugIn: Yet Another Related Posts Plugin]I have the same settings that Sarah has, only my threshold is set at 0.001
Do i need to put something in under “before/after posts”, or will it be taken care of by doing the automatic installation and check “automatically display related posts”?
Thanks
Mike