Josh M.
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to hide certain pages in NavbarPlease copy all code from your header.php file and paste it here…
Forum: Fixing WordPress
In reply to: White Screen When Trying To View All Comments – Administrator OnlyNot a problem,
Forum: Themes and Templates
In reply to: widgets on home page?Not sure what theme you are referring to. Please post a link to the theme site also a link to your site would help.
Forum: Themes and Templates
In reply to: what is name of file that sets the size of the header imgIt is not a file that set’s the size of the image, but attributes inside the img tag.
EX.
<img src="PATH TO IMAGE" width="900" height="200" />
You will most likely find your header image tag inside the header.php file
Post any questions…
Forum: Themes and Templates
In reply to: How to hide certain pages in Navbar@t-p The Plugin you recommend will allow for hiding the content itself but I don’t think it will remove the link from the navigation.
@jarbess – follow these steps.
1) Find out which version of WP you are running also find out if your theme is 3.1 compatible for the new menu system. If it is, you will be able to remove the link from the navigation easily.
See example below:
Here is a video I made for a client after upgrading her theme to use 3.1 meuusIf your theme is not 3.1 menus compatible, you will need to install a plugin that will remove it from the dynamic menu: Exclude Pages Plugin is a good one. After activating the plugin, access the page, then un-check include in user menus.
2) Look in your theme files for a code block that looks like what is written below:
<ul> <?php wp_list_pages('title_li='); ?> </ul>
And change it to:
<ul> <?php wp_list_pages('title_li='); ?> <? if ( is_user_logged_in() ) { <li><a href="URL HERE">Link Title</a></li> } ?> </ul>
This will put the conditional link at the end of your navigation.
Post any questions,
Forum: Fixing WordPress
In reply to: category errorWonderful – Please be sure to make this topic Solved
Forum: Themes and Templates
In reply to: Disabling link to PageAre you using 3.1 and is your theme 3.1 compatible with the new integrated menu system?
If so, you can easily add a new nav element and use # as the URL then simply drag all child pages below.
Here is a video I created for a client after upgrading her theme to use 3.1 menus. You will be able to see how this works
Post any questions…
Forum: Fixing WordPress
In reply to: edit post – shows blank screenPlease complete the following tests 1st
1) Disable all plugins, then test to see if the problem persists.
2) If problem persists after disabling all plugins, switch the theme to the WordPress default ( Twenty Ten ) and test to see if the problem persists.
Come back here and post your results. This way the problem origin can be narrowed down.
Forum: Fixing WordPress
In reply to: category errorI see that the three posts that are incorrectly showing in the Science Fiction category, are all also associated with the War category.
Inside the War category, you have two posts “The Next Logical Step By Ben Bova” and “Belly Laugh by Ivar Jorgensen” that are also associated with Science Fiction.
Although WordPress allows you to associate a post with many categories with no problem, I’m wondering if you are using some kind of “related posts” plugin that will build relationships between posts based on categories they are associated with.
We know the issue is not in your theme, because you’ve switched it and the problem persists.
Any information you can provide on your plugins, etc… will help with narrowing down to find the problem.
Forum: Themes and Templates
In reply to: How to hide certain pages in NavbarAfter logging in as an admin, look to your left sidebar to find Appearance and click Editor. You can select the theme files you want to edit by clicking them on the right side.
After editing a file, be sure to update it by clicking the button below the editing area.
You will probably be editing the header.php file or the sidebar.php file depending on which nav menu you want to add the code to.
Forum: Themes and Templates
In reply to: How to hide certain pages in NavbarYou can add the conditional statement below to your theme code, it will check to see if a user is logged-in, if so it will display the link.
<? if ( is_user_logged_in() ) { <li><a href="#">Link Title</a></li> } ?>
There are many ways this can be advanced to fit different needs. Please post if you have any other questions, and I will try to guide you to the solution.
Forum: Fixing WordPress
In reply to: White Screen When Trying To View All Comments – Administrator OnlyFirst – Please open your functions.php file and see if there is any whitespace ( empty lines ) after the last ?>
If there is, remove it(them) and update the file. Test to see if this fix the issue.
If you do not have any extra lines ( whitespace ) in your functions.php file, are you using a plugin for user roles? If so – which one?
Forum: Fixing WordPress
In reply to: category errorPlease post a link so we can see the the problem. Also, if you can post the theme code you are using to pull the results that would also be helpful.
Question: Try switching your theme to the WP Default ( Twenty Ten ) and see if you have the same problem. Post your results,
Josh