how do i Place a Graphene slider a page with a short-link or code?

  • avikaylat

    #31159

    how do i control that there will only be one slider on the front page and that slider will be the one generated from the short code and not from the theme hence allowing me to control the position (theoretically) also how do i control the position of this slider?

    Heres the link to the site i need help in

    thank you,

    AT

    Anonymous

    #31160

    You can actually move the slider to some other place using custom function.

    function custom_move_graphene_slider() {
    remove_action( 'graphene_top_content', 'graphene_display_slider' );
    add_action( 'graphene_action_hook', 'graphene_display_slider' );
    }

    add_action( 'template_redirect', 'custom_move_graphene_slider' );

    In the 3rd line, replace graphene_action_hook with an appropriate Graphene action hook.

Viewing 2 posts - 11 through 12 (of 12 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!