How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support New tags in the text redator

  • This topic has 4 replies, 2 voices, and was last updated 1 year ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8310
    candyman
    Participant

    I was trying to add schema.org (microdata) to my articles. I read code a put it on the website. I published page and expected to see valid code, instead, when I was checked (CTRL-U) I saw that there were new tags (<p>, and </span>

    Example:
    My code:
    <h2>FAQ</h2><div itemscope itemtype=”https://schema.org/FAQPage”&gt; <meta itemprop=”mainEntityOfPage” content=”https://url.com/”><dl><span itemprop=”mainEntity” itemscope itemtype=”http://schema.org/Question”><dt itemprop=”name”>My Question here?</dt><dd itemprop=”acceptedAnswer” itemscope=”” itemtype=”http://schema.org/Answer”><span itemprop=”text”>My Answer</span></dd></span></dl></div>

    On the website:
    <div itemscope itemtype=”https://schema.org/FAQPage”&gt; <meta itemprop=”mainEntityOfPage” content=”https://url.com/”></p&gt;
    <h2 itemprop=”name”></h2>
    <dl><span itemprop=”mainEntity” itemscope itemtype=”http://schema.org/Question”></p&gt;
    <dt itemprop=”name”>My Question here?</dt>
    <dd itemprop=”acceptedAnswer” itemscope=”” itemtype=”http://schema.org/Answer”><span itemprop=”text”>My Answer</span></dd>
    <p></span><span itemprop=”mainEntity” itemscope itemtype=”http://schema.org/Question”></p&gt;

    3 tags – </p>
    1 tag – <p>
    1 extra </span>

    #8313
    admin
    Keymaster

    Hi candyman,

    WordPress editor adds and
    wherever thinks that is necessary, so it’s hard to add this kind of markup straight from the editor.
    My suggestion is to create a shortcode for your FAQ and add the structured data there, it will be more clean and easier for you to use inside the WP editor.

    #8330
    candyman
    Participant

    Thanks. Yeah, I was using WP editor. Nice idea about shortcodes. Do I can use your theme or need to add some special plugin for it?

    #8354
    candyman
    Participant

    I used [box_text] but it doesn’t help.

    #8359
    admin
    Keymaster

    Hi!

    I’m sorry but I’m not aware about any related plugins.
    You can build your own shortcodes inside PokaTheme child theme if you are familiar with PHP/HTML/CSS or you can hire a developer to built it for your.
    If you need a quote for any custom work you can send us an email.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.