If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17798

    Hi nick,

    You gave me this code to change: $output = ‘<div class=”tab $title”></div>’.”n”;

    The change of code resulted in this front-end code: <div class=”tab $title”></div>

    I know there markup in the php is not correct, but im not a php expert, can you see what is wrong in your code and hopefully give me a valid code?

    it should be something like: $output = ‘<div class=”tab’ $title’ “></div>’.”n”;

    But i cannot seems to (guess) the right markup.


    Ah i seem to have found it: $output = ‘<div class=”tab ‘.$title.'”></div>’.”n”;


    Glad you were able to figure it out :)



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

The topic ‘SHORTCODE 'TAB': USE IMAGES AS TITLE? (next part)’ is closed to new replies.