Forum Replies Created
-
AuthorPosts
-
JohnParticipant
Nicely done, thanks for the update!
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantAhh, that's a different website than the test site you linked to earlier. Try this instead:
#content .post-9789 h1 {
display: none;
}
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantYou're welcome. Don't want to beat a dead horse here, but I don't see that particular code in your CSS. Are you sure it's in there?
You could also give it a boost by adding an ID to the selector:
#content .post-505 h1
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantTo answer your original question,Β education_include_topnav isn't a function (that I know 0f), so you're not going to be able to remove it with Genesis Simple Hooks, and as far as I know there is no topnav.php, unless that's a custom file that someone created, but WordPress doesn't usually work that way so I don't think that file exists.
I've recently been working with the Education theme myself, and I'm not sure why the date and RSS feed links are in that location.
Still, a simple way to remove them is to add this code to the end of your style.css file:
.topnav-left,
.topnav-right {
display: none;
}You should be able to access and edit that file in Appearance > Editor
By the way, your site appears to be loading your Google Analytics script in two different places. You may want to remove one of those.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantYou could make a copy of the Genesis 404.php, remove the H1 tag, replace everything inside the entry-content DIV with your image, and put that in your child theme folder.
Or a simpler way would be to add this to your style.css file:
.post-505 h1 {
display: none;
}
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantLink to the site?
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantWilliam,
On that test site are you trying to remove the 404 in the H1 tag that is just above the 404 image? Or the title that says, "A Place to Play Around"?
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantJohn,
To clarify, are you wanting to remove the author info on a category archive page that displays posts from a certain category? Or on a single post that is in a certain category?
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantRocky Top,
Breaking your site is how you learn, as long as you can quickly un-break it! π
Seriously though, I don't know how your custom author plugin will affect this, but if you add this code snippet to the bottom of your functions.php file it should (might) do the trick:
/** Display author box on archive pages */
add_filter( 'get_the_author_genesis_author_box_archive', '__return_true' );I just tried it on a site I'm currently developing and it added an author box at the top of the author archive page. Let me know if it works for you.
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantUse Firefox as your browser, and install Firebug. Chrome has a lite version of Firebug, but it's not quite up to snuff with Firefox in this regard, in my opinion.
Then search Google for "firebug tutorial," or check this one out:Β http://www.w3resource.com/web-development-tools/firebug-tutorials.php
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantAhh, the joys of caching. Glad you got it figured out.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantWordPress assigns each widget an unique ID, and you can use that to drill down in your CSS to a particular widget. For example, the current Featured Post widget has an ID of
#featured-post-5
so we could have added that to the previous CSS code like this
.featured-bottom #featured-post-5.featuredpost .post {
border-bottom: none;
}Then you could switch out "5" with the ID of the new widget in some additional CSS and change the CSS accordingly.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantBest practice is to add any new code to the bottom of functions.php. You could even add a comment line below the standard stuff like this example, and add your code below that line:
/* Custom Functions below this line
------------------------------------------------------------ */
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantI guess I should have added that detail - you can simply make a copy of your theme's page.php, archive.php, or something similar, rename it like I mentioned above, and add that code to the new file. If your child theme doesn't have one of those files you can find one in the Genesis folder.
The important thing is that it has the opening php tag and the closing genesis(); function, with your code in between.
Actually, this code should handle all three taxonomies, but one term at a time. You won't need a separate file for each taxonomy. A real-life example is this page on a site I built for my wife, which displays a custom post type called 'organizations' that has four different taxonomies:Β http://aheartforjustice.com/organizations/
Clicking on any of the taxonomy terms will display an archive page for that taxonomy term, listed alphabetically by 'slug'. I adjusted the code I posted for you to list the posts by the title of the taxonomy term instead of the slug.
Let me know if I'm not tracking with you on what you're wanting to do.
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantCreate a new admin user and send me the info at [email protected]. After I'm done you can delete that user account.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantI'm not sure - it's always worked for me. Want me to take a look in the admin? That would be quicker than trying to figure this out without seeing it myself.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantFirebug isn't showing a widget area there. This might be a silly question, but did you 'Save' the widget after adding it to the widget area?
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantYou're welcome!
Which method are you using to display the slider?
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantWhat's the URL of the page where it's not working?
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πJohnParticipantI just re-read what you wrote about the warnings in Editor. That may very well be why your changes aren't showing up.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google π -
AuthorPosts