WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] lost control of captions for styling (2 posts)

  1. jwilliamswp
    Member
    Posted 7 months ago #

    <img class="size-medium wp-image-369 " alt="Pic of waiting in line for the new iPhone 5S" src="http://jeremiahwilliams.info/solo/wp-content/uploads/2013/09/Iphone5s_1750-e1379712437406-216x288.jpg" height="288" width="216"> AT&T store Bartonsville PA, September 20th.

    As you can see there is no more caption enclosed tags. My caption reads AT&T store Bartonsville PA, September 20th. As you can see above.

    It works fine in the admin view, but obviously that doesn't help me.

    Any help would be greatly appreciated.

    I am using a personally modded version of an old autofocus lite theme with the most current version of wp 3.8 "parker"

  2. jwilliamswp
    Member
    Posted 7 months ago #

    Never mind - I found the file where the theme short code was located and I just commented it out and now I have full image and caption functionality back under my control. I found it in autofocus-shortcodes.php one level down in an inc folder.

    I just did this and now its working again.

    //add_shortcode('wp_caption', 'autofocus_img_caption_shortcode');
    //add_shortcode('caption', 'autofocus_img_caption_shortcode');

    Well, I just learned way more than I ever wanted to about short codes, but now I must admit, I wonder what a good one can do if I learned how to write them. cool.

Reply

You must log in to post.

About this Topic