• Resolved buging

    (@buging)


    Hi,

    I’m using the [betterdocs_category_grid] shortcode to display some doc categories on a web app. This works fine, however, I was hoping if there’s a way for the help docs to load on a new window/tab?

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Abid Hasan

    (@abidhasan112)

    Hi @buging ,

    Hope you’re doing good.
    Well, Currently we don’t have the option to set open a new tab/window of BetterDocs articles.

    However, You can add this JS in your <script> tag to get this done:

    jQuery(".docs-item-container ul li a").attr('target','_blank');

    Cheers!

    Thread Starter buging

    (@buging)

    Thanks for the workaround Abid. It works!

    Plugin Support Abid Hasan

    (@abidhasan112)

    @buging Awesome!
    If you love our plugin and support, don’t forget to give us 5* review from here: https://www.ads-software.com/support/plugin/betterdocs/reviews/

    Cheers!

    Thread Starter buging

    (@buging)

    just did! ??

    One more quick question – is this also possible for the search results (using search form shortcode)?

    Plugin Support Abid Hasan

    (@abidhasan112)

    Hi @buging ,

    Sorry for the late reply.
    First of all, thanks for your awesome feedback.

    And for the search result Doc list, You need to add another JS actually. Here is the JS:

    jQuery(".docs-search-result li a").attr('target','_blank');

    Cheers!

    Thread Starter buging

    (@buging)

    Hi Abid,
    I actually tried that but it doesn’t work for me ??

    Plugin Support Abid Hasan

    (@abidhasan112)

    Hi @buging ,

    That’s strange!
    I tried from the browser console and it works fine on my end.

    Can you please share your page URL so that I can check on your end by using the browser console

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Category Grid to Open links in new window’ is closed to new replies.