Truck35
Forum Replies Created
-
Forum: Themes and Templates
In reply to: "wp_nav_menu()" function not workingHi Mr. stephencottontail,
Thanks for the information. I’m going to try to pass an array as an argument as you suggested. Sorry for taking so long to reply, busy doing other things in addition to my IT stuff. I only echoed the function because it returns a Boolean value and I wanted to see if the function was working. I will post my result of the “wp_nav_menu()” function call with an array passed as an argument as soon as possible.
Thanks for your help it is really appreciated.
Bless,
Truck35Forum: Themes and Templates
In reply to: "wp_nav_menu()" function not workingI did not pass any arguments with my function. From what you said, this could be the reason why it is not working. Here is my code that I have in my header file in my theme:
<div id="header"> <nav> <?php echo wp_nav_menu(); ?> </nav> </div><!--header-->Any help you could give me would be appreciated.
Thanks,
Truck35Forum: Themes and Templates
In reply to: Menu function not workingI used the echo command to see if the function was being recognized and the function did not return either true or false. The WordPress documentation for the function says that it should return true if the pages are found and false if it does not find or recognize the pages. If anybody has any ideas of what is going on with the “wp_nav_menu()” function, please let me know.
Thanks,
Truck35Forum: Themes and Templates
In reply to: Can't get style sheet to link to index pageI changed the of the “function.php” file to “functions.php” and everything is working fine now.
Thanks,
Truck35Forum: Themes and Templates
In reply to: page will not reconize CSS style sheetI changed the name of my file from function.php to functions.php and everything is working fine now. I did not realize what you meant at first when you put the not that said to make sure the name is plural.
Thanks for everyone that helped me.
Bless,
Truck35Forum: Themes and Templates
In reply to: page will not reconize CSS style sheetSorry for all the confusion with the second post. I did see the replies from the second post. My file is called function.php. I right clicked and selected view source file and I do not see any reference to a link to my style.css file. I echoed the return value of my “wp_enqueue_style(‘style’, get_stylesheet_uri())” function in my index.php file and it returned a styled version of my page using the css that I have in my “style.css” file. I also went to the “Net” tab in firebug and refreshed my page after loading my page and it displayed some information that I am unfamiliar with.
Forum: Themes and Templates
In reply to: page will not reconize CSS style sheetI am assuming the “Net” tab in firebug is the one you are referring to. I enabled it and viewed the tab’s content and it did not show any file or path. I perplexed, I even tried using a link tag in the header and still can’t make any changes using my style sheet.
Forum: Themes and Templates
In reply to: page will not reconize CSS style sheetThe style.css is in the root directory of the folder that I created for my theme. Firebug just shows that there is no style sheet attached to the page. I don’t know what path is shown for my style.css file. Does the “get_stylesheet_uri()” method return the path when called? If so, then I can echo it and see what path it is returned or, if there is a better way maybe you can let me know.
Thanks,
Truck35Forum: Themes and Templates
In reply to: page will not reconize CSS style sheetI am working of my local computer so, I don’t know if it is possible to have a link. I did activate the theme in the administration. I see the name of the theme and version etc. in administration page where you choose your theme but, when I view my theme, it does not recognize the style sheet. I used fire bug and it confirms that the style sheet is not being recognized. However, I can style the page using firebug.
Forum: Themes and Templates
In reply to: page will not reconize CSS style sheetIt was a copy an paste problem. It sould be: /*.