Support » Plugin: Structured Content (JSON-LD) #wpsc » Multi FAQ TinyMCE Not Working

  • Resolved w00tw00t111

    (@w00tw00t111)


    Hi,
    I’m using TinyMCE and trying to enter a “Multi FAQ”. First, the titles in the popup are not in English. Second, when I click “Add One”, nothing gets added.

    If I enter all the appropriate information and click “OK” nothing happens (the popup doesn’t close, no shortcode is added either”.

    I also tried manually typing out the multi FAQ shortcode. Using the following:
    [sc_fs_multi_faq headline-0="h3" question-0="What states are stun guns illegal?" answer-0="The following states are illegal to own or posses a stun gun: Hawaii, Rhode Island, and U.S. Virgin Islands." image-0="" headline-1="h3" question-1="Do you need a license to own a stun guns" answer-1="In most states you don't need a permit. In Illinois, Indiana, Michigan, and Wisconsin you do." image-1="" headline-2="h3" question-2="Is carrying a stun gun illegal?" answer-2="In most states no it is not. Only Hawaii, Rhode Island, and U.S. Virgin Islands is it illegal to protect yourself with a stun gun or Taser" image-2="" count="3" html="false" css_class="your-class"]

    All of the double quotes have been corrected, yet nothing shows up on the page.

    Thanks for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author gorbo

    (@gorbo)

    Hi @w00tw00t111 ,
    html=”false” is specified at the end of your shortcode. In this case only the JSON will be output in the source code but the website visitor cannot see anything.

    If the user should see the FAQ just change html=”false” to html=”true”.

    Please check if this works 🙂

    Greetings

    Hi @gorbo ,
    Thanks so much for the quick reply!

    I feel silly, but yes setting html=”true” fixed it. However, for future reference for other users – if you don’t have the html option added it will default to false (which not showing the question/answer on the page to the visitor is against Google’s ToS. Just for info)

    The actual TinyMCE shortcode option (the modal that opens when you click the TinyMCE icon) still does not work with Multi FAQ. Just a heads up.

    Thanks!

    Hi @w00tw00t111
    Is this true that if you are not showing the question/answer on the page to the visitor that is against Google’s ToS? I did not know that.

    Plugin Author gorbo

    (@gorbo)

    @riley74 according to John Mueller from Google FAQ should be visible: https://twitter.com/JohnMu/status/1186533522217099264

    @w00tw00t111 At the top of lightboxmodal is a checkbox “Render HTML” – if it is checked the attribut is html=”true”. Unchecked it is “false”. See the screenshots at the plugin page. If it doesn’t look that way, please send us screenshots and some details of used WP version & pagebuilder etc. via twitter: https://twitter.com/wpsc_plugin

    Greetings

    @gorbo thank you for the clarification. But I am still having a Duplicate Field “FAQPage” error on Google Search Console for my blog post.

    How do I fix this?

    [sc_fs_multi_faq headline-0=”p” question-0=”When is the best time to schedule a newborn photography session?” answer-0=”The best time to schedule a newborn photography session is within the first two weeks of birth. We typically like to schedule newborn sessions within 7-14 days old, as this is when baby is still sleeping deeply and easier to position into those sweet newborn poses. Babies after two weeks tend to be less sleepy, wake easier while being posed or wrapped, and will be just a little less curly when we pose them. However, it is absolutely still possible to do the photo shoot outside the usual 7-14 day timeframe, we just might capture more swaddled than bare baby shots.” image-0=”” count=”1″ html=”false” css_class=””]

    [sc_fs_multi_faq headline-0=”p” question-0=”What is newborn photography?” answer-0=”A professional photo session that typically takes place within 7-14 days of baby’s birth. A professional photographer uses a variety of props, backdrops and accessories to capture a newborn in different artistic set ups and poses to document and celebrate this special time of a new baby’s life. Most newborn photographers will capture images of both baby by himself, as well as baby with his parents.” image-0=”” count=”1″ html=”false” css_class=””]

    [sc_fs_multi_faq headline-0=”p” question-0=”How much does newborn photography cost?” answer-0=”Newborn photography can vary greatly in terms of investment. Factors like the photographer’s experience, quality of work, knowledge of lighting, the caliber and amount of props and wardrobe provided, length of time of the photoshoot, amount of digital files or products included and finally, the location of the photographer can all affect the cost of a newborn photography session. Parents should consider the photographer’s experience as the top factor when hiring a newborn photographer.” image-0=”” count=”1″ html=”false” css_class=””]

    [sc_fs_multi_faq headline-0=”p” question-0=”When should you take newborn pictures?” answer-0=”The best time to take newborn pictures is when baby is between 7-14 days old. Babies under two weeks tend to sleep deeper and longer and are easier to pose into sweet newborn positions. Newborn pictures can still be taken past 14 days, but these pictures will focus more on swaddled and wrapped baby shots. The maximum age for any kind of newborn photography is about five weeks old.” image-0=”” count=”1″ html=”false” css_class=””]

    Plugin Author gorbo

    (@gorbo)

    Hi @riley74 ,

    you do not need to insert the multi-FAQ Shortcode multiple times. You can answer all questions within one shortcode!

    Select MultiFAQ in your TinyMCE and at the bottom of the lightboxmodal (where you insert the question and the answer) you’ll find a button “Add one” – this means “Add another FAQ”. Then you can a second, a third etc. FAQ.

    Please check the reference shortcode at the plugin page: https://wordpress.org/plugins/structured-content/

    Greetings

    @gorbo
    thank you!
    does this look correct to you now? (I’m sorry I don’t know any coding, I am just a photographer and not familiar with things like this, so I ask alot of questions. 🙂

    [sc_fs_multi_faq headline-0=”h2″ question-0=”When is the best time to schedule a newborn photography session?” answer-0=”The best time to schedule a newborn photography session is within the first two weeks of birth. We typically like to schedule newborn sessions within 7-14 days old, as this is when baby is still sleeping deeply and easier to position into those sweet newborn poses. Babies after two weeks tend to be less sleepy, wake easier while being posed or wrapped, and will be just a little less curly when we pose them. However, it is absolutely still possible to do the photo shoot outside the usual 7-14 day timeframe, we just might capture more swaddled than bare baby shots.” image-0=”” headline-1=”h2″ question-1=”What is newborn photography?” answer-1=”A professional photo session that typically takes place within 7-14 days of baby’s birth. A professional photographer uses a variety of props, backdrops and accessories to capture a newborn in different artistic set ups and poses to document and celebrate this special time of a new baby’s life. Most newborn photographers will capture images of both baby by himself, as well as baby with his parents if requested.” image-1=”” headline-2=”h2″ question-2=”How much does newborn photography cost?” answer-2=”Newborn photography can vary greatly in terms of investment. Factors like the photographer’s experience, quality of work, knowledge of lighting, the caliber and amount of props and wardrobe provided, length of time of the photoshoot, amount of digital files or products included and finally, the location of the photographer can all affect the cost of a newborn photography session. Parents should consider the photographer’s experience as the top factor when hiring a newborn photographer.” image-2=”” headline-3=”h2″ question-3=”When should you take newborn pictures?” answer-3=”The best time to take newborn pictures is when baby is between 7-14 days old. Babies under two weeks tend to sleep deeper and longer and are easier to pose into sweet newborn positions. Newborn pictures can still be taken past 14 days, but these pictures will focus more on swaddled and wrapped baby shots. The maximum age for any kind of newborn photography is about five weeks old.” image-3=”” count=”4″ html=”true” css_class=””]

    Plugin Author gorbo

    (@gorbo)

    Hi @riley74

    yes, the shortcode works in my test-install. Please make sure you use normal quotation marks – i’ve copied the shortcode from above and found differnt formated quotation marks. There is a difference between

    ” vs ″ vs ”

    The last one is the good one 🙂 this can sometimes happen when you use the visual editor in special environments – then the tinyMCE formats the the quotation marks in a wrong way.

    Just replace the quotation marks with the one you find on your keyboard (search&replace function) and the shortcode works.

    Greetings

    @gorbo it worked!! THANK YOU!! I really appreciate your help!

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