New Landing How can we help? Themeforest Theme Support Flexform Revolution Slider in Blog Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #45660
    thesphereagency
    Member
    Post count: 10

    Is it possible to include a revolution slider at the top of a blog post like you can in pages? I would like to use the blog posts to segment content (example being testimonials) and for each post page where the full post is displayed (body.single) to be able to include a revolution slider at the top of the page…

    Thanks

    #46289
    xcv1001
    Member
    Post count: 101

    I would like to know too
    Thanks

    #46293
    thesphereagency
    Member
    Post count: 10

    I figured it out… In the header add is_single to the class check where you currently have is_page.

    looks like this:

    if (is_page() || is_single()){ ?>

    Then in the meta_box file (includes/meta-boxes.php), copy the revolution slider array details from page to post. I did this and I now have the revolution slider working on all pages where body.single is called.

    Only issue is that you now have to be very careful when updating the theme as these will be over-written if you aren’t careful.

    #47037
    Melanie – SUPPORT
    Member
    Post count: 11032

    Good job!

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register