@sansolo Thank you for putting up with me. I’m not a PHP programmer, but from what I understood and did are the following:
mkdir -p oceanwp-child-theme-master/partials/single
cp -arv oceanwp/partials/single/* oceanwp-child-theme-master/partials/single/
vim oceanwp-child-theme-master/partials/single/meta.php
and for author changed from
<?php if ( 'author' === $section ) { ?>
<li class="meta-author"<?php oceanwp_schema_markup( 'author_name' ); ?>><span class="screen-reader-text"><?php esc_html_e( 'Post author:', 'oceanwp' ); ?></span><i class="<?php echo $theme_icons[ 'user' ][ $icon_t ]; ?>" aria-hidden="true"></i><?php echo esc_html( the_author_posts_link() ); ?></li>
<?php } ?>
to this
<?php if ( 'author' === $section ) { ?>
<li class="meta-author"<?php oceanwp_schema_markup( 'author_name' ); ?>><span class="screen-reader-text"><?php esc_html_e( 'Post author:', 'oceanwp' ); ?></span>By <?php echo esc_html( the_author_posts_link() ); ?></li>
<?php } ?>
and for modified changed from
<?php if ( 'mod-date' === $section ) { ?>
<li class="meta-mod-date"<?php oceanwp_schema_markup( 'modified_date' ); ?>><span class="screen-reader-text"><?php esc_html_e( 'Post last modified:', 'oceanwp' ); ?></span><i class="<?php echo $theme_icons[ 'm_date' ][ $icon_t ]; ?>" aria-hidden="true"></i><?php echo esc_html( get_the_modified_date() ); ?></li>
<?php } ?>
to this
<?php if ( 'mod-date' === $section ) { ?>
<li class="meta-mod-date"<?php oceanwp_schema_markup( 'modified_date' ); ?>><span class="screen-reader-text"><?php esc_html_e( 'Post last modified:', 'oceanwp' ); ?></span>Updated <?php echo esc_html( get_the_modified_date() ); ?></li>
<?php } ?>
I tried this on my local WordPress test site and it’s working superbly. If what I’ve done is correct and if you say go forward, I’ll apply it to the production website.
Thanks
-
This reply was modified 3 years, 6 months ago by sysguides.