![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
![]() Actually, your code looks wrong. You have:
<?php wp_list_pages('title_li=&child_of=17'.$post->ID.'&date_format=$date_format'); ?> But I think it should be: <?php wp_list_pages('title_li=&child_of=17&date_format=' .$date_format); ?> You could try adding an if statement around your call to the menu like this: PHP Code:
Eric
__________________
![]() ![]() ![]() ![]() |
#42
|
||||
|
||||
![]() Hi
For StudioPress/Genesis themes, you need to also make sure that you've chosen to use a custom menu as your Primary navigation. 1. To do this, go here: WordPress Admin Area > Appearance > Genesis > Theme Settings 2. Under "Primary Navigation" select the "Custom Nav Menu" option. NOTE: In order to use the "Custom Nav Menu" option, you must build a custom menu. Also, make sure that you assign it to the "Primary Navigation Menu" Location. 3. Make sure you have created a menu on your Menus page and set it as the Primary Navigation Menu. After taking these 3 steps on StudioPress themes, you should be good to go. Eric
__________________
![]() ![]() ![]() ![]() |
#43
|
|||
|
|||
![]() 2. Under "Primary Navigation" select the "Custom Nav Menu" option.
I don't have this option when I go there. Genesis dose not appear in Appearence in wp, it's on a separate tab in wp dashboard. but when I enter Genesis/theme settings, "select the "Custom Nav Menu option" is not an option??? |
#44
|
||||
|
||||
![]() Quote:
![]()
__________________
![]() ![]() ![]() ![]() |
#45
|
|||
|
|||
![]() |
#46
|
|||
|
|||
![]() In the screenshot it says "In order to use the navigation menus, you must build a custom menu, then assign it to the proper Menu Location."
So, you still need to do that. Your goal is to create a custom menu. After it's created, all should be good. Also, the modifications that you made to your functions.php file should be in your child theme's folder, not the Genesis folder. Here's more on how to do that: http://codex.wordpress.org/Appearance_Menus_Screen |
#47
|
|||
|
|||
![]() HI Eric,
please view link re above. http://screencast.com/t/Ecdax8RGSJ I'm really confused here. I know how to create a menu,/categories and sub categories all with in Datafeedr. I also know how to do this in WP. But how do I get WP to display my datafeedr menus on my top nav bar? It's probably something simple that I'm just not getting here....? Paul. |
#48
|
||||
|
||||
![]() Hi
Quote:
But it should still be working and your categories should now be appearing in the Primary menu. Do you have any other choices for configuring your Menus in the Genesis theme settings? Eric
__________________
![]() ![]() ![]() ![]() |
#49
|
|||
|
|||
![]() Quote:
Please view links to clarify I've entered code correctly. Appended code in functions.php file http://screencast.com/t/OFOULHLn Appended code in custom views file. http://screencast.com/t/wFbFUP8V3I just want to be sure I've entered this code correctly. Thanks Eric, Paul |
#50
|
||||
|
||||
![]() Hi
Quote:
Quote:
Eric
__________________
![]() ![]() ![]() ![]() |
#51
|
|||
|
|||
![]() Quote:
There are no options that I can see in the main widgets area to add anything to primary or secondary menus. It only seems to allow one to upload to primary and secondary side bars and main content areas (x 3 on my theme) This is a screen shot of the choices in genesis theme settings. http://screencast.com/t/l6PYvbaq |
#52
|
|||
|
|||
![]() Quote:
I changed the php as per screen shot here, http://screencast.com/t/dSZw1t3t I also ammended the category list code by first installing template 2 code and putting your snippit directly below it and saved. As you can tell I know very little about code, just the basics of html. I made a little bit of progress but it is a bit funky looking on my site....! see screen shot below. http://screencast.com/t/5SpkRe2M7 |
#53
|
||||
|
||||
![]() Hi
Your Category List module does not have the Template 2 code in it. You have this: HTML Code:
[category.list before='<ul>' after='</ul>'] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.repeat] </li> [/category.list] [category.list id='dfparent' before='' after=''] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.list id='dfchild' before='<ul>' after='</ul>'] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.repeat id='dfchild'] </li> [/category.list] </li> [/category.list] HTML Code:
[category.list before='<ul>' after='</ul>'] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.repeat] </li> [/category.list]
__________________
![]() ![]() ![]() ![]() |
#54
|
|||
|
|||
![]() Hi Eric,
I'm getting closer...! Please have a look at these screen casts.............. this screen cast shows my primary nav menu; http://screencast.com/t/ysJbSo3QvaT2 not sure if I should have entered a url in the store tab? this screen cast shows my secondary nav menu; http://screencast.com/t/IgifAK8s Finally this is how my site looks at the moment. I don't understand why my storage shed category is showing up in both menus and also why is each menu doubled up in size? http://screencast.com/t/0JKWTJMKX |
#55
|
||||
|
||||
![]() Hi
Try removing this code from your functions.php file: add_filter( 'wp_list_pages', 'dfr_menu_items' ); Eric
__________________
![]() ![]() ![]() ![]() |
#56
|
|||
|
|||
![]() I tried removing this line of code and updating but it did not make any dofference?
|
#57
|
||||
|
||||
![]() Hi
Sorry, your code should be this: HTML Code:
[category.list id='dfparent' before='' after=''] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.list id='dfchild' before='<ul>' after='</ul>'] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.repeat id='dfchild'] </li> [/category.list] </li> [/category.list]
__________________
![]() ![]() ![]() ![]() |
#58
|
|||
|
|||
![]() Hi Eric,
I persume you ment to replace the earlier code snippit with this new piece? I've tried doing that and now I just get a blank page. I've tried using the back button to removing the code and it don't make any difference. I am now just left with a black page....??? Help.....! Paul. |
#59
|
||||
|
||||
![]() Hi
That new code that I posted above should be used in your "Category List" view, not in your functions.php file. Eric
__________________
![]() ![]() ![]() ![]() |
#60
|
|||
|
|||
![]() Eric,
I got on to my service provider to reboot the site which they have done. Now this new piece of code that you sent me today is the same code I allready had installed as per your post above yesterday 7:04am. You will see that it is preceeded by the code for template 2 which was your initial direction. I've tried it again but it dosen't work. I sent you a PM re diagnostics. Tks, Paul. |
Thread Tools | Search this Thread |
Display Modes | |
|
|