WordPress.org

Forums

Implementing hCard on Contact pages (3 posts)

  1. djwaki
    Member
    Posted 8 years ago #

    I am trying to put a hCard onto a hosted version of wordpress. Unfortunately wordpress is converting my multi-line <div> groups into single line<p> tags which is preventing the hCard from working properly.

    I need to be able to group the various elements of the hCard together in a class. (I eventually want to be able to add other hcards to the page).

    Does anyone have any experience of getting a hCard to work with a hosted version of wordpress?

    Thanks in advance.

    PS: When I put the same code on a normal html page it works.

  2. Patcha
    Member
    Posted 8 years ago #

    Not a reply, but maybe this could be of help?

  3. Make the hCard using the Code view instead of the visual editor. Then save/publish the post *without* switching back to the visual editor. Should work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags