Treehouse: Grow your CSS skills. Land your dream job.

Tag WordPress adding image

  • # October 17, 2012 at 11:58 am

    I have a need to have a pictures on the TAG section of a blog (would love to open a light box too in there). This would be conditional. If there is a picture then show it, if not, don’t do anything. Does any one know a trick to do this?


    # October 17, 2012 at 2:26 pm

    Are you using tag.php or archive.php for this?

    # October 17, 2012 at 2:42 pm

    I am using index.php, but I could make a tag.php. How would that help?

    # October 17, 2012 at 3:47 pm

    Can you post your index.php file?

    # October 17, 2012 at 4:51 pm

    How do I post code here? I though I had to put but it does not work.[code] but it does not work.

    # October 17, 2012 at 4:58 pm

    @mevaser There’s a code button. Paste your code, highlight it and click on ‘Code’.

    # October 17, 2012 at 5:00 pm

    Sweet, not it is working with: Rich Text Tags Pluggin from WordPress!

    # October 17, 2012 at 5:01 pm

    see if that makes sense. thanks,

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

You must be logged in to reply to this topic.