siter2
Forum Replies Created
-
Notification is bot sent when posts are updated.
Anyone there?
Plugin Name: Easy Table of Contents
I tried all of that.
AMP posts are still displaying TOC. When I remove the TOC from the post, it also disappears from the AMP page and when I insert it back it appears in the AMP.
- This reply was modified 5 years, 1 month ago by siter2.
Forum: Themes and Templates
In reply to: [OceanWP] Can I Edit the Schema fileWhen code is: <li class=”meta-date”<?php oceanwp_schema_markup( ‘publish_date‘ ); ?>><i class=”icon-clock”></i><?php echo get_the_date(); ?>
<?php } ?>.This is the result: <li class=”meta-date” itemprop=”datePublished”><i class=”icon-clock”></i>May 12, 2019
When I change it to:<li class=”meta-date”<?php oceanwp_schema_markup( ‘update/modify,etc_date‘ ); ?>><i class=”icon-clock”></i><?php echo get_the_modified_date(); ?>
<?php } ?>I get: This is what I’m left with: <li class=”meta-date”><i class=”icon-clock”></i>May 1, 2019
Itemprop disappears
- This reply was modified 5 years, 6 months ago by siter2.
Forum: Themes and Templates
In reply to: [OceanWP] Can I Edit the Schema fileSorry, I’m new. How do I do that? can you explain it more detail?
<?php if ( ‘date’ == $section ) { ?>
<li class=”meta-date”<?php oceanwp_schema_markup( ‘content’ ); ?>><i class=”icon-clock”></i><?php echo get_the_modified_date(); ?>
<?php } ?>I changed the_date to the_modified. Now the modified date is displayed but without schema markup
Forum: Themes and Templates
In reply to: [OceanWP] Can I Edit the Schema filethat makes the itemprop disappear.
This is what I’m left with: <li class=”meta-date”><i class=”icon-clock”></i>May 1, 2019
This is what I want: <li class=”meta-date” itemprop=”dateModified”><i class=”icon-clock”></i>April 27, 2019