How did I move Slider with Serious Slider well ?

  • Author
    Posts
  • #52775

    I love Verbosa, and I grad that Verbosa update!

    After update, I customized landing page immediately.
    During my customization, I wanted to use slider and then I installed cryout serious slider plugin.
    But, I’ve hit the wall. The slider on landing page has extra text.
    By the several attempts, I identified the cause.
    I have inserted some code before and after entry-contents in order to show advertisement and sns buttons by using function.php.
    And I’ve used add_filter(‘the_content’, ‘my_function’) function in function.php.
    So, because slider is custom post type, the function add extra codes to slider’s contents.
    Fortunately, Verbosa have several convenient hooks. I success remove extra codes – that I set shown before the contents – from slider.(Now I use ‘cryout_singular_before_inner_hook’.)

    Now, I am still in trouble.
    I can’t remove extra codes – that I set shown after the contents – from slider…..
    What should I do, or Should I use another plugin ?

    #52853
    Zed
    Cryout Creations mastermind

    Any slider plugin that uses custom post types will have the same problem as you are filtering the_content too broadly.

    You should limit the filter to certain post types.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #52878

    Thanks.
    I used is_singular() function in filtering.
    By using get_post_type() == ‘cryout_serious_slide’ in If branch, I resolve my problems.
    Thank you.

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

The topic ‘How did I move Slider with Serious Slider well ?’ is closed to new replies.