Flexslider

This topic contains 19 replies, has 3 voices, and was last updated by  Lance Sampson 7 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #362557

    Lance Sampson
    Buyer
    Post count: 108

    Can anyone tell me how to enable flexslider in the supreme theme like below?

    http://www.trustorrun.com/places/nigeria/lagos/ikeja/housing-companies/megat-and-partners-estate-ltd/

    Thanks

    #362558

    Kor
    Moderator
    Post count: 16516

    Hi lance,

    The flexslider is included in the GD plugin which is enabled by default. Are you having issues with it? Could you tell us a little bit more about it?

    Thanks!

    #362560

    Lance Sampson
    Buyer
    Post count: 108
    This reply has been marked as private.
    #362562

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #362563

    Lance Sampson
    Buyer
    Post count: 108
    This reply has been marked as private.
    #362565

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #362566

    Lance Sampson
    Buyer
    Post count: 108
    This reply has been marked as private.
    #362568

    Lance Sampson
    Buyer
    Post count: 108
    This reply has been marked as private.
    #362583

    Lance Sampson
    Buyer
    Post count: 108

    Hi

    Ok. I removed the block. Can you please try to log back in?

    thanks

    #362584

    Lance Sampson
    Buyer
    Post count: 108
    This reply has been marked as private.
    #362593

    Kor
    Moderator
    Post count: 16516

    Hi Lance,

    I’ve just consulted a developer and to enable flexslider in a details page, you’ll have to use the custom code below. I’ve inserted it for you into the code snippet plugin and it works now. Could you check?

    
    
    // Enable listing images slider on detail page for Supreme Directory theme.
    function gddev_plugins_loaded() {
        add_action('geodir_details_main_content', 'geodir_action_details_slider', 0);
    }
    add_action( 'plugins_loaded', 'gddev_plugins_loaded' );

    Thanks!

    #362675

    Lance Sampson
    Buyer
    Post count: 108

    Hi Kor

    This seems to work great but I got an error while saving the snippet. Its below. In addition, can you check the URL again and show me how to but the “phone number” and “website” button that is now below it back above it. I need it that way as it to lign up at the top for the mobile version.

    I really appreciate all your help. You have been great.

    Don’t Panic

    The code snippet you are trying to save produced a fatal error on line 4:

    Cannot redeclare gddev_plugins_loaded() (previously declared in /home/locator/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(384) : eval()’d code:3)
    The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.

    Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.

    #362676

    Kor
    Moderator
    Post count: 16516

    Hi Lance,

    I’ve just changed the function name for the code that displays the flexslider in a details page. Could you please try again and see if it works now?

    Thanks!

    #362683

    Lance Sampson
    Buyer
    Post count: 108

    It has caused the slider to disappear. The slider seem to be working fine before although it just showed the error code. Any suggestions?

    #362684

    Lance Sampson
    Buyer
    Post count: 108

    I also overwrote the previous code so I would need it again.

    Thanks

Viewing 15 posts - 1 through 15 (of 20 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket