bpering
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuHere’s something interesting. I have tried all your suggestions with no luck. Just now I deleted all the code that pertained to PAGES and saved that change. The Pages are still listed as before, even though the code is gone.
Here is the Sidebar code now:
<ul id=”sidebar”>
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>- <h2>Categories</h2>
-
<?php wp_list_cats(); ?>
- <h2>Archives</h2>
-
<?php wp_get_archives(‘type=monthly’); ?>
<?php endif; ?>
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuThanks for the info. Didn’t know that.
But… I copied your code just the way you had it and I think I see the backticks you are talking about in yhe code.
Here it is again
<h2>Pages</h2>
<?php
wp_page_menu(‘show_home=1&sort_column=menu_order&title_li=’); ?>
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menubpering please make sure when writing code your putting it in backticks
What are backticks ?
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuI tried your latest and still no home page.
<h2>Pages</h2> <?php wp_page_menu('show_home=1&sort_column=menu_order&title_li='); ?>Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuOpps. Sorry. Did it again. I’m trying too hard.
Here is the current code as you asked.
<h2>Pages</h2> <?php wp_page_menu('show_home=1'); ?>Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuMaybe this theme (gone-fishing) is different. Still no Home page.
Here is how I have the Pages code in the Sidebar template now.
<li><h2>Pages</h2> <ul> <h2>Pages</h2> <?php wp_page_menu('sort_column=menu_order&title_li='); ?> </ul> </li>Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuOpps! Copied it in wrong. However… it still didn.t add HOME to the menu.
Any other suggestions?
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuI get this error:
arse error: syntax error, unexpected ‘<‘ in /home/bbrd1/public_html/badcrediteliminated.com/wp-content/themes/gone-fishing/sidebar.php on line 26
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuI changed the page PHP code like this, but it still doesn’t work. Did I do it right?
li><h2>Pages</h2>
-
<?php
wp_page_menu(‘show_home=1, sort_column=menu_order&title_li=’); ?>
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuThanks MichaelH, I understand you want me to change show_home=0 to show_home=1, but where do I find the template tag, wp_page_menu()?
I am pretty new at this. Sorry.
Bob
Forum: Fixing WordPress
In reply to: Need a HOME page added to page menuThanks esmi, but that didn’t work.
This is the Sidebar code I have for pages:
<h2>Pages</h2> <?php wp_list_pages('sort_column=menu_order&title_li='); ?>Forum: Fixing WordPress
In reply to: How to remove Blogroll & Meta categoriesThanks stvwlf,
That did the trick. The problem I had was not understanding the PHP code. I had seen those text blocks several times, but didn’t realize what they pertained to.
After I commented them out, they went away.
Thanks again for your help,
Bob
Forum: Fixing WordPress
In reply to: How to remove Blogroll & Meta categoriesI am using the theme tropicala.
I have been all through the sidebar.php file and I can’t see the Blogroll or Meta inf anywhere.
I’m not familiar with PHP Coding, but I think I could see it if it was there. But then again, maybe not.
Thanks,
Bob
Forum: Fixing WordPress
In reply to: How to remove Blogroll & Meta categoriesNo. I am using the theme tropicala. I’ve been all through the different php files and can’t find any reference to Blodroll or Meta.
I’m fairly new at this, so I figure it’s something simple. I just can’t figure it out.
Thanks for your help.
Bob