Home Forums WoodMart support forum How to open the blog post in the new tab?

How to open the blog post in the new tab?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #98946

    glamorousjz
    Participant

    Hello!

    I’m having an issue with the “blog posts” which I would like to place on product pages, however, it seems that the post opened in the same current tab/window.

    Can you pls let me know how can I set to make the post open in a new tab?
    (There is no such attribute option in the Blog editor, Screenshot attached below.)

    Thanks very much in advance!
    Best Regards

    Attachments:
    You must be logged in to view attached files.
    #98961

    Artem Temos
    Keymaster

    Hi,

    Sorry, but there is no such option for our blog posts. The only way to do this is custom code modification but it will change this functionality globally on the blog page as well.

    Regards

    #98985

    glamorousjz
    Participant

    Thank you,

    I think it would work (open in new tab globally), can you pls let me know what custom code should I apply to change it?

    Best Regards

    #98986

    Artem Temos
    Keymaster

    Edit the file woodmart/content-slider.php and find two occurrences of the link tag start

    <a

    to

    <a target="_blank"

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)