• Resolved jessizollero

    (@jessizollero)


    Dear Ocean WP Team,

    i would like to change the title of the related posts from <h3> to <p> or <span> is that possible?

    regards, Jessi

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @jessizollero,

    In this case, you need to use the child theme and do customization. To do this, first, you need to use the child theme. You can copy the meta file from the partials folder in the child theme following the same path and then make 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 pages, 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 posts featured image for standard post format, all you need in this step is:

    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, back to the themes folder (wp root > wp-content > themes) and go to oceanwp-child-theme-master folder.
    4- Create a new folder into the child theme with the “partials” name.
    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.

    Best Regards

    Thread Starter jessizollero

    (@jessizollero)

    thank you. i changed related-posts.php in the code from h3 to p. after that i uploaded it to the child theme /wp-content/themes/oceanwp-child/partrials/single. unfortunately it is still h3, what else could i do?
    Thanks in advance

    Hello @jessizollero,

    I fully check the steps, and it’s fine on my side:
    https://i.postimg.cc/TwGfbKrD/image.png

    Please make sure the child theme is activated:
    https://i.postimg.cc/T2tfyYhK/image.png

    If it didn’t work, please share some screenshots from your customizations. Also, please share a live URL from your website.

    It is my child theme. You can install and activate it: https://www.dropbox.com/s/1jcae5u7rzosty9/oceanwp-child-theme.zip?dl=0.

    Best Regards

    Thread Starter jessizollero

    (@jessizollero)

    Hello Shahin,

    Thank you, I just didn’t mean the text “you might like this too” but the headlines of the posts. Is it possible to change that in the same way?
    https://postimg.cc/hJ00y3Ws

    thank you

    Hello @jessizollero,

    So you can change it like the previous way, please see these screenshots: https://postimg.cc/gallery/xnV8KGs.

    Best Regards

    Thread Starter jessizollero

    (@jessizollero)

    cool thank you, it’s works ??

    Hello @jessizollero,

    You’re most welcome.
    I’m glad it is solved.

    Best Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Related Posts’ is closed to new replies.