Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Custom taxonomy terms not available in WP Show Posts dropdown #3094
    Addison
    Participant

    Well… I cleared my browser cache while in Chrome’s inspector, and now all seems well. The taxonomies are showing up just fine. Problem fixed!

    in reply to: Option to disable permalinks #3069
    Addison
    Participant

    To anyone else needing this option, I worked up a script to add to your functions.php (or wherever you prefer to add your php) that you can use to fully disable permalinks until Tom creates a built-in option:

    https://gist.github.com/addisonhall/a9d6756de4835018e6ac80a2531e754a

    Thanks!

    in reply to: Option to disable permalinks #2146
    Addison
    Participant

    Just wanted to report back and say that the wpsp_disable_image_link filter in the dev version worked great. Here’s what I did in my functions.php to target my shortcode:

    
    add_filter( 'the_content', 'gpc_alter_wpshowposts' );
    function gpc_alter_wpshowposts( $content ) {
      if ( strpos( $content, '[wp_show_posts id="1746"]') !== false ) {
        add_filter( 'wpsp_disable_image_link', 'gpc_disable_wpshowposts_link' );
      }
      return $content;
    }
    function gpc_disable_wpshowposts_link() {
      return true;
    }
    

    I’d love to see additional filters to shut off all links, or perhaps a disable-all-links filter down the road… Thanks!

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