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

  • avikaylat


    any ideas as to how i do this?



    Add the below code to Graphene Child theme‘s functions.php file. `[graphene-slider] will be the short-code to display Graphene Slider. You can see it here. I’ve added slider within a post.

    function graphene_slider_custom_shortcode() {
    if (function_exists('graphene_slider')) {
    add_shortcode('graphene-slider', 'graphene_slider_custom_shortcode');

    function custom_enqueue_scripts(){

    if ( ! is_admin() ) { // Front-end only

    wp_enqueue_script( 'graphene-jquery-tools' ); // jQuery Tools, required for slider
    add_action( 'wp_enqueue_scripts', 'custom_enqueue_scripts' );



    hi it gives me an error



    how do i make a child functions theme if i dont already have?



    where do i put this function above oir below why did it give me an eror after doing this what did i do wrong how do i fix it?



    Don’t put it in parent theme’s functions.php file. Search around the forum for more information on child theme, or visit my site.



    is there a way to make a child theme without messing up the current graphene setup?

    [url=htttp://]heres my site[/url]


    is there a way to make a child theme without messing up the current graphene setup?

    It depends on what customizations you’ve done to parent theme. Though you’ll not lose anything by activating the child theme.

    Graphene Child Theme Template



    iv put a lot of custom css to the graphene custom css page under graphene options



    i i got it to work but 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,


Viewing 10 posts - 1 through 10 (of 12 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.