Would like to get rid of read more button in home page pane

  • Anonymous



    I used the options under the graphene display options for homepage panes to have the home page display the first most recent post from the category news. I would like to have the full post display and get rid of the read more button completely.

    Any ideas on how to do this.

    Thank you!!!

    url: http://www.tkogfx.com/boccia_dev


    Kenneth John Odle


    Try Graphene Options >> Display >> excerpts display options and untick the box marked “Show excerpts in front page”



    @Ken, I tried that in my test site. It won’t work..



    To get rid of the “read more” button… all of them…

    a.more-link, a.more-link span {
    display: none;



    @Josh, it just hides the “read more” button.. But he wants to display the whole post in homepage panes..

    Edit: How about increasing the excerpt length (..to some infinite value) in funtions.php???



    You can try this to remove the excerpt length cap:

    function graphene_remove_filters(){
    remove_filter('excerpt_length', 'graphene_excerpt_length');
    add_action('init', 'graphene_remove_filters'); // Removes Graphene excerpt filter

    function new_excerpt_length($length) {
    return 10000; // Made this number up; it's the new length of allowed words
    add_filter('excerpt_length', 'new_excerpt_length'); // Adds our new length defined above



    Hey guys. Thanks so much for the replies. I meant to post back but must have blanked. I ended up combining two of the solutions here and it worked perfectly. I used the style code to get rid of the buttons and then edited the excerpts section of the functions.php so I could get full posts in the home page panes.

    Thanks again!



    Great looking website! I didn’t even realize it was using Graphene theme.

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

  • You must be logged in to reply to this topic.
Graphene Themes Forum