• 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:
    http://stephanienunleyblog.com

    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='http://stephanienunleyblog.com/wp-content/uploads/2013/07/openpost1-e1374096046852.jpg' />" tag="div" </center>" trigpos="below" swaptitle="<center><img src='http://stephanienunleyblog.com/wp-content/uploads/2013/07/closepost-e1374098701885.jpg' /></center>" trigclass="noarrow"]

    Any help you could provide would be fantastic!

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

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

    (@baden03)

    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=\'http://stephanienunleyblog.com/wp-content/uploads/2013/07/openpost1-e1374096046852.jpg\' />" tag="div" </center>" trigpos="below" swaptitle="<center><img src=\'http://stephanienunleyblog.com/wp-content/uploads/2013/07/closepost-e1374098701885.jpg\' /></center>" trigclass="noarrow"]'); ?>
    Thread Starter stephanienunley

    (@stephanienunley)

    1. http://stephanienunleyblog.com

    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: http://katelynjamesblog.com
    (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.