• Resolved brs76

    (@brs76)


    Hi and thank you for making Oceanwp Theme.
    I want to show Author, Categories and Reading Time meta data at Blog Archive “Th?mbnail” Blog Style. By default, it is showing only Categories meta data above the Post Tile at “Thumbnail” Blog Style.

    On the other hand, when I choose Blog Style “Large Image” at Blog Archive, I can see Author, Categories and Reading time. I don’t know why I don’t see it when I change Blog Style from “Large Image” to Thumbnail”?

    I combine screen shots both “large image” and “thumbnail” Blog Style and add an image link here so you can see what I means:
    https://ibb.co/KzXwfXZ

    If there is a code snippet to show Author and Reading time meta data in additional to Categories meta data at Blog Archive “Thumbnail” blog style, I woulr like to know.

    Thanks in Advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @brs76,

    Thank you for contacting us.

    There isn’t any option for those met in the “Thumbnail” style because it is a minimal design for a blog archive page. The solution to achieve it is customization, and it needs familiarity with PHP, if you are unfamiliar with PHP, you can contact a PHP expert. To do this, first, you need to use the child theme. You can copy the metafile from the partials folder in the child theme following the same path and then make the necessary changes.

    For more information about that, please follow the steps below:

    By using FTP or cPanel access (if didn’t use the localhost), Go to this directory:
    wp-content\themes\oceanwp\partials
    Find your template which you want to customize and copy that template file(in your case, for example, you need to change the date on the blog page, so you need to use the blog template(s): https://i.postimg.cc/brv9gn9s/image.png).

    Then head over to the same path on the child theme. There isn’t an entry folder as a default on your child theme, so you need to create a new one(one time).

    Example: If you want to change the HTML tags structure in the single blog post featured image for standard post format, all you need in this step is the following:

    1. Head over to your WP root > wp-content > themes > oceanwp > partials> single > media path.
    2. Then, find the “blog-single.php” file and copy this file.
    3. After that, go back to the themes folder (wp root > wp-content > themes) and go to the oceanwp-child-theme-master folder.
    4. Create a new folder with the “partials” name in the child theme.
    5. Go to the /partials/ folder and create a new folder with the “single” name.
    6. Go to the /single/ folder and create a new folder with the “media” name.
    7. Go to the /media/ folder and paste the “blog-single.php” file here.

    * Please check this screenshot: https://i.postimg.cc/sxjYTWyt/image.png.
    * Download child theme: https://docs.oceanwp.org/article/90-sample-child-theme.
    * Developer docs: https://docs.oceanwp.org/collection/19-developer-doc.

    Note: It’s working with the /woocommerce/ folder or root of the theme files.

    Best Regards

    Thread Starter brs76

    (@brs76)

    Hi @shahin,
    Thank you very much for your detailed reply. I would like to know if there is a ready php snippet for this. If yes, I can insert it to my functions.php file.
    best regards and thanks in advance.

    Hello @brs76,

    I’m afraid that’s not possible.

    Best Regards

    Thread Starter brs76

    (@brs76)

    Thank you @shahin for your reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I want to show additional meta data at Blog Archive “Thumbnail” Blog Style’ is closed to new replies.