dogbot
Forum Replies Created
-
Did you ever solve this?
Forum: Requests and Feedback
In reply to: core function for child / parent theme file inclusionThis kida works for me:
function child_theme_include($file){ $parent = get_template_directory() . '/'.$file; $child = get_stylesheet_directory() . '/'.$file; if(file_exists($child)) include($child); elseif(file_exists($parent)) include($parent); }
No extra functions
Forum: Fixing WordPress
In reply to: How to use wp_nav_menusorry for all of the crazy posts..this forum’s text editor is unforgiving to say the least
Forum: Fixing WordPress
In reply to: How to use wp_nav_menuI’m using a dropdown menu script that requires certain classes on certain items of the list to work.
basically the [a] tag of a list item with nested list should have class=”dir”
The [li] tag of the first and last items in nested list should have classes “first” and “last” respectively.like so:
<li><a href="./" class="dir">Lyrics</a> <ul> <li class="first"><a href="./">Search for Lyrics</a></li> <li class="last"><a href="./">Play Lyrics Game</a></li> </ul>
Plesae dont tell me to change my css, use a plugin, jquery,etc…I just need that output that way that’s all.
Thank you so much
Forum: Fixing WordPress
In reply to: How to use wp_nav_menuI’m using a dropdown menu script that requires certain classes on certain items of the list to work.
basically the [a] tag of a list item with nested list should have class=”dir”
The [li] tag of the first and last items in nested list should have classes “first” and “last” respectively.like so:
-
<li class="first">Search for Lyrics
<li class="last">Play Lyrics Game
Plesae dont tell me to change my css, use a plugin, jquery,etc…I just need that output that way that’s all.
Thank you so much
Forum: Fixing WordPress
In reply to: How to use wp_nav_menuMy post was jumbled by the editor, here it is again
I’m using a dropdown menu script that requires certain classes on certain items of the list to work.
basically the<a>
tag of a list item
“- ” with a sub-menu should have class=”dir”
The “ - ” tags’s of the first and last items should have classes “first” and “last” respectively.
like so:
<a> <li><a href="./">class="dir">Lyrics</a> <ul> <li class="<strong>first</strong>"><a href="./">Search for Lyrics</a></ul> </li> <li class="<strong>last</strong>"></a><a href="./">Play Lyrics Game</a>
<p>Plesae dont tell me to change my css, use a plugin,jquery,etc…I just need that output that way that’s all. </p>
<p>Thank you so much
Forum: Fixing WordPress
In reply to: How to use wp_nav_menumaybe I posted int the wrong sub-forum? could an admin move it to a more appropriate one?
thank you.
Forum: Fixing WordPress
In reply to: Blog page doesn't show newest 3 postshi…you never said what was the name of the widget.
Forum: Fixing WordPress
In reply to: Adding tumbnail images into the mainmenucheck out the code generated for the menu. it should have a class “page_item page-item-(number)” you could use CSS to include a background image depending on the page or post number.
a thought
Forum: Fixing WordPress
In reply to: Permalinks and server headersnever seen it done ‘/%post_id%/%postname%.html’ I’d assume the correct way is ‘/%post_id%/%postname%’ without the ‘.html’ part?….
Forum: Fixing WordPress
In reply to: Blog page doesn't show newest 3 postsnoo..I dont think is a database thing..I’ve been down that road, it’s some little code setting. How about you deactivate the widget and see what happens?
Forum: Fixing WordPress
In reply to: Newbie Log In ProblemI have used the PHPmyAdmin solution in the link above many times. It’s a little hard for people like you and me who know very little coding but I got it!
Forum: Fixing WordPress
In reply to: WYSIWYG Editor is brokenHi! Im a newbie, just trying give back, so I could be wrong but I had a similar problem and it turned out the editor files got corrupted by the upload.
here is where I found them:
wordpress\wp-includes\js\tinymce
Another similar issue with the editor had something to do with the HTACCES file created when making permalinks, perhaps when you moved the site it scrwed up the references..maybe delete htacces and redo permalinks?
hey some ideas, hope it helps.
Forum: Fixing WordPress
In reply to: Blog page doesn't show newest 3 postsHey I am a newbie to WP. but off the bat I’d say take a look at the widget. It may help to know the name of the widget. is the widget displaying 3 posts by chance?
Forum: Alpha/Beta/RC
In reply to: Debug Errors from WP-includesdid you ever get an answer? I get this error too. I am using WP 3.0.1
Thanks - ” with a sub-menu should have class=”dir”