Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Removing links

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Removing links

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14560
    paul
    Participant

    Hello,

    I am using the standard show posts display (ie no cards) At present it has 3 links to each post, one from the image, one from the headline and one from the read more button. Is there anyway to change this so that either:

    a) Only the read more button has a link
    or
    b) Make the whole panel\card clickable and remove the three individual links

    Thanks

    #14588
    Tom
    Keymaster

    Hi there,

    You could try this:

    .wp-show-posts-inner {
        position: relative;
    }
    
    .wp-show-posts-entry-title a:before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    Let me know 🙂

    #14592
    paul
    Participant

    Is this the correct answer for me? That did not seem to change anything. Just to clarify I want to remove the links completely not just hide or not display them.

    #14619
    Tom
    Keymaster

    It’s possible to remove the link from the image, but not the post title or the read more button.

    The above solution should make it so the entire post is click-able.

    #14635
    paul
    Participant

    Tried the above CSS and it has no effect – nothing changes. How do I remove link from image?

    Thanks

    #14654
    Tom
    Keymaster

    Try this PHP:

    add_filter( 'wpsp_disable_image_link', '__return_true' );

    #14710
    paul
    Participant

    Have removed image link thanks.

    #14728
    Tom
    Keymaster

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.