We would like to get a line break for the article’s meta info for all our posts regardless of which block we use. Currently, the author’s name and date are all on one line. We would like to have a line break after the author’s name and add read time after the date. See the example below. Please advise if this is possible.
Tom Starner
May 13, 2021 · 5 minute read
Here is the URL https://dev.hrexecutive.com/
We would like it so that the Authors name is on 1 line and the next line is the date. Also, how can we add read-time right after the date as per the example?
Tom Starner
May 13, 2021 · 5 minute read
Also, what is the best method to create just a Horizontal line?
-
This reply was modified 5 years by
Anamaria.
Hello,
Please don’t share your credentials on the forum.
Also, you can simply change the author on a new row, like in this video https://www.screencast.com/t/ASF4OQ2SXawl
Unfortunately, our theme doesn’t have the option to display the time of reading, for this you need to test a plugin.
Thank you!
Thank you for your assistance. However, we are wanting to break the date to a 2nd line under the author using the Post Blocks. This way the author and date will always be on 2 lines. Is this possible?
Hi,
Unfortunately, there is no option to do that, sorry!
The only way you can achieve is to use a custom css, something like this -> https://i.imgur.com/KVD1xQ1.png
body .td-editor-date .td-author-date .td-post-author-name {
display: block;
}
What you can do is to set on blocks you want to apply the code an extra class and replace the “body” from code with that extra class, then the code will apply only on the blocks that have the class set by you.
The code need to be set in theme panel, custom code> custom css.
I hope this will help you!
Thank you so much for helping me with the meta info formatting. I have added a plugin to display read time and added the shortcode to the Cloud template Single Template – HRE. I would like to add this to my Cloud Template Category Template – HRE as well. The Block I need to add this to is the Post Loop block. Where would I add the extra code below into the theme so this appears in the category pages as well in the same location?
Please see video https://www.loom.com/share/5d4bcac0276f466a86f1ef43c0748b7c
Need to add the this code: php echo do_shortcode(‘[rt_reading_time label=”Reading Time:” postfix=”minutes”]’);
-
This reply was modified 5 years by
Bill Fleak.
Hi,
If you want to add that element in post loop element, then you need to do it in them files, those files are on this path wp-content/plugins/td-cloud-library/shortcodes/common/tdb_loop.php and tdb_loop_2.php I think that you need to add the code in this zone -> https://i.imgur.com/bKSCyZA.png in $buffy.
I hope this will help you!