• Resolved mcminnkl

    (@mcminnkl)


    I want to remove URL functionality for each question.

    It tried:

    .ufaq-faq-title a {
    pointer-events:none;
    cursor:default;
    }

    … but the link is still there, and it can be opened.

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

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

    (@jaysupport)

    Hi mcminnkl,

    You want to remove the functionality that links to the single post page? Or you don’t want the single post pages to exist? For the former, the code you provided should work. The latter is not really possible. The FAQs are a custom post type, which means, just like with regular posts, WordPress will automatically create permalink/single post pages for each FAQ. If it’s that you don’t want them crawled, then I’d suggest either manually modifying your robots.txt file or using a plugin to do it.

    Thread Starter mcminnkl

    (@mcminnkl)

    Hi Jay,

    Thank you for the fast response time. I appreciate that. It’s probably best to check out this page to see what I am referring to:

    https://pokemonfaqs.com/apps/pokemon-home/faqs/general-questions/

    … when hovering over the question, you can see the URL for that question. event though .pointer-events: none it’s still clickable. I don’t want it to be clickable. I do not want any of the questions to link to their respective pages from the main page. I just want each question in the header to be text. That’s it.

    I understand each question will have its own “post,” but I don’t want it being linked. I hope that makes sense.

    Thank you,
    Kevin

    Plugin Support jaysupport

    (@jaysupport)

    Hi Kevin,

    I just had another look at your page and they are not clickable now. Did you make any further changes, or could it maybe have had something to do with caching?

    Thread Starter mcminnkl

    (@mcminnkl)

    Hi Jay,

    I rechecked the page and it does indeed seem to be doing that, which is exactly what I was wanting. Thank you so much! 🙂

    Kevin

    • This reply was modified 6 years, 2 months ago by mcminnkl.
    Thread Starter mcminnkl

    (@mcminnkl)

    Hi Jay,

    Apologies for replying to this topic. I for sure thought the issue was cleared up. However, the issue seems to be back, as seen here:

    https://pokemonfaqs.com/pokedex/galar/polteageist/

    Thread Starter mcminnkl

    (@mcminnkl)

    Hi Jay,

    It appears this is my mistake.

    I changed:

    .ufaq-faq-title a {
    pointer-events:none;
    cursor:default;
    }

    To:

    .ufaq-faq-title {
    pointer-events:none;
    cursor:default;
    }

    … and everything seems fine now. Does the above change look OK?

    Plugin Support jaysupport

    (@jaysupport)

    Hi Kevin,

    Yes, that code looks great!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Remove URL Link From Question’ is closed to new replies.