• First let me say thank you for all of your hard work with your awesome plug ins. I have been using content reveal for a long time and have made a pretty specific side bar menu that worked great until function calls were removed. I was able to avoid any problems by sticking with an older version (2.1.1). But now that wordpress has updated to 4.7.2 the dropdown function seems to either not work at all or it will drop down for a second then reclose depending on the browser. Is there anyway to add function calls back into the plugin? Any help would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter RoryFeatherwind

    (@roryfeatherwind)

    Another related question: as an alternative, is there a way to use a css class as a heading? I was using images with a rollover image before. This was all done with CSS. It worked with the function call method, but does not seem to work with the short code method.

    Here is an example of what I am trying to do:

    [reveal heading= '<a class="SBLC"></a>'  id='idNEWCOM' ]
    <div id = SBMARGIN>  
    <ul>
    <?php global $comiccat; $latestComics = new WP_Query(); $latestComics->query('showposts=5&cat='.$comiccat);
    while ($latestComics->have_posts()) : $latestComics->the_post(); ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
         	</ul>
    </div>
    [reveal]

    EDIT: I got the class to show up, but like the php version, nothing will drop down when its clicked. Any advice would be greatly appreciated.

    EDIT 2: So it looks like if I click on it right away while the page is loading it will work, but once the page loads it stops.

    Plugin Author David Artiss

    (@dartiss)

    Hi @roryfeatherwind,

    Would it be possible to put that example on a page which I can view? I’d like to see the code that’s being generated.

    Thread Starter RoryFeatherwind

    (@roryfeatherwind)

    Hi David,

    First, thanks for getting back to me. The code is active here at https://demonfist.com. It is in the sidebar. I currently have the default state to revealed in order for people to use the links. But originally the “Latest Comics” image could be clicked to collapse that section and it worked wonderfully until recently. Any input on how I can get this work again would be greatly appreciated.

    Some things I found trying different things.
    1. Using just text, Content Reveal still works correctly
    2. Using img tags instead of a CSS class also still works correctly
    3. If I add any text after the CSS class that text will work correctly but the CSS class image still does not work.

    Let me know if you need anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Anyway to add function calls back in?’ is closed to new replies.