Education Theme-Simple Hooks

Community Forums Forums Design Tips and Tricks Education Theme-Simple Hooks

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  pruningtogrow 1 year, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5335

    pruningtogrow
    Participant
    Post count: 6

    Hi! I am using the Education theme and I have installed the Genesis Simple Hooks plugin. I would like to remove the date and the RSS information from the topnav section. I am unable to access my topnav.php file for a few reasons (I have multiple sites that are being managed by someone else). Anyway, this is why I installed Genesis Simple Hooks. I would like to remove the date and RSS info but I would like to keep the topnav div. In Simple Hooks under genesis_before_header Hook I added the following code:

    <?php
    remove_action(‘genesis_before_header’, ‘education_include_topnav’);
    ?>

    I feel like this should’ve worked. Any reason, why it does not?

    Thanks!

    #5436

    pruningtogrow
    Participant
    Post count: 6

    Any thoughts on this?

    #5450

    John
    Participant
    Post count: 155

    Link to the site?


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    #5457

    pruningtogrow
    Participant
    Post count: 6

    The link to the site is:

    http://libarts.blog1.olemiss.edu/

    #5468

    John
    Participant
    Post count: 155

    To 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 ;)

    #5473

    pruningtogrow
    Participant
    Post count: 6

    Okay, thanks so much for your help!

     

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.