Panes on pages besides home page?

  • eg121

    #5684

    Hi all,

    I was wondering how, or if it is possible to include panes on different pages besides the home page?

    Thanks much!

    Mod

    Kenneth John Odle

    #32461

    Yes, but you will need to use an action hook widget area, a PHP widget, a bit of PHP to grab the latest posts’ excerpts (if that is what you are going for), and some CSS to style them.

    How comfortable are you with coding?

    eg121

    #32462

    Oh boy, not very. I can do without, thank you Kenneth 🙂

    eg121

    #32463

    As a side note, is it possible to make the slider unclickable? I just want to use it as a slideshow for my photographs. I read in this forum that directing the slider link to “http://#” can help, but the image remains clickable and on my ipad it returns an error. Any ideas on this?

    Mod

    Kenneth John Odle

    #32464
    Quote:
    is it possible to make the slider unclickable?

    In that case, it is probably better to ditch Graphene’s built in slider and use a slider plugin that’s meant to display just pictures and not post excerpts. There are lots of these available.

    eg121

    #32465

    Thank you again!

    Prasanna SP

    #32466
    Quote:
    I was wondering how, or if it is possible to include panes on different pages besides the home page?

    Why not? Just add this code anywhere between <?php and ?> in your child theme’s functions.php file.

    function graphene_custom_display_homepage_panes() {
    if ( is_page('123') ) {
    graphene_homepage_panes();
    }
    }

    add_action( 'graphene_bottom_content', 'graphene_custom_display_homepage_panes' );

    Where is_page('123') is the ID of the page where you need homepage panes. Change the ID to match that page.

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

You must be logged in to reply to this topic.