Support » Plugin: Collapse-O-Matic » How to remove collapsing from individual posts using Headway

  • Hello!

    I don’t know a ton about all of this coding stuff, but I’m tackling a blog re-design using Headway themes. I love the functionality of this plugin and have gotten it to work well so far:

    I want it to do exactly what it’s doing, but I’d love it if I could remove the view more from individual posts. I’ve read other support articles about this, but I’m not sure how to make this work with Headway, since it makes it a bit more difficult to edit custom CSS. I understand that, instead of inserting my shortcode into each individual blog post, I should have put it somewhere within the theme, correct? I’m just not sure where to put it and how it should be written. All of this goes right over my head.

    This is the code I’m currently using in each post:
    [expand title=" <center><img src='' />" tag="div" </center>" trigpos="below" swaptitle="<center><img src='' /></center>" trigclass="noarrow"]

    Any help you could provide would be fantastic!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Baden


    Happy to help!
    Just a couple of questions:
    1. what is the url to the page you are trying to get this to work on?
    2. are the images the same for every post, or do they change with each post?
    3. if they do change with each post, tell us more about the images… where are both the main image and the swap-out image defined?

    basically you will need to use WordPress’ do_shortcode function in your theme like so:

    <?php do_shortcode('[expand title="<center><img src=\'\' />" tag="div" </center>" trigpos="below" swaptitle="<center><img src=\'\' /></center>" trigclass="noarrow"]'); ?>


    2. It’s the same image for every post… basically just a ‘open/close post’ button!

    I’m trying to achieve similar functionality to this blog:
    (so if you have any suggestions on how to get the ‘close post’ button after my comments section, I’d be very greatful for that advice as well!)
    Also- if I put the do_shortcut function in my theme, what do I need put in each individual blog post?

    Thank you SO MUCH!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove collapsing from individual posts using Headway’ is closed to new replies.