-
AuthorPosts
-
August 28, 2016 at 10:19 pm #678692
Hi! Is there a simple way to change the order of the minor meta data in blog grid? I would like the same order for the blog grid view as the order in a blog post.
Now the order is:
Line 1. blog-categories minor-meta
Line 2. slide-entry-title entry-title
Line 3. slide-meta-comments slide-meta-del slide-meta-time updatedI would like to change the order to:
Line 1. slide-entry-title entry-title
Line 2. slide-meta-time updated slide-meta-del slide-meta-comments slide-meta-del blog-categories minor-metaAugust 29, 2016 at 1:49 pm #678880Hey Dutchman,
Please try using a plugin to add or change the existing metadata https://wordpress.org/plugins/tags/metadata
Best regards,
VinayAugust 29, 2016 at 10:37 pm #679171I almost got the order right.
With the following code the order is ok but the time, comments and category are displayed below eachother instead of next to eachother:if($show_meta && !empty($excerpt)) { $meta = "<div class='slide-meta'>"; $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)); $meta .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>"; $meta .= "</div>";
With the code below the order is ok and everything looks perfect! But Google structured data testing tool gives me 3 errors:
Google does not recognizes the property blog post as an object of type Blog Posting.if($show_meta && !empty($excerpt)) { $meta = "<div class='slide-meta'>"; $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)); $meta .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time><div class='slide-meta-del'>|</div>";
The question is: How do i produce that seperator after the ‘slide-meta-time’ so that Google will not give me those errors and all the minor meta data is displayed on 1 line instead of below eachother?
September 3, 2016 at 2:38 am #681505Hi!
Google does not recognizes the property blog post as an object of type Blog Posting.
Did you try this solution? https://kriesi.at/support/topic/the-property-blogpost-is-not-recognised-by-google-for-an-object-of-type-blogpost/#post-679795
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.