quentro

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Alignment With my Theme's Columns #9743
    quentro
    Participant

      I used the shortcode strip
      function remove_shortcode_from_index($content) { if ( is_home() ) { $content = strip_shortcodes( $content ); } return $content; } add_filter(‘the_content’, ‘remove_shortcode_from_index’);
      and added is_category, now it works 🙂

      function remove_shortcode_from_index($content) {

      if ( is_home() || is_category() ) {
      $content = strip_shortcodes( $content );
      }
      return $content;
      }
      add_filter(‘the_content’, ‘remove_shortcode_from_index’);

       

      in reply to: Alignment With my Theme's Columns #9723
      quentro
      Participant

        Last question, sorry:

        http://lagerlager.ch/boulderpirat/category/schwierigkeit/7c-nirvana/

        I need to remove the shortcode also from the search results (see link above). I tried following:
        function remove_shortcode_from_search($content) { if ( is_search() ) { $content = strip_shortcodes( $content ); } return $content; } add_filter('the_content', 'remove_shortcode_from_search');
        .But it didn’t work..

        in reply to: Alignment With my Theme's Columns #9722
        quentro
        Participant

          Last question, sorry:

          http://lagerlager.ch/boulderpirat/category/schwierigkeit/7c-nirvana/

          I need to remove the shortcode also from the search results (see link above). I tried following:
          function remove_shortcode_from_search($content) { if ( is_search() ) { $content = strip_shortcodes( $content ); } return $content; } add_filter('the_content', 'remove_shortcode_from_search');
          But it didn’t work…

          in reply to: Alignment With my Theme's Columns #9720
          quentro
          Participant

            Thank you so much. Top support.

            Bought now the Pro version.

             

            Regards

            in reply to: Alignment With my Theme's Columns #9710
            quentro
            Participant

              Hi, thank you

              i want the map to appear only on the single post page, not on the homepage. I tried to use the <!–more–> but it didn’t work. The post looks like this:

              Intrinsicly visualize proactive human capital whereas synergistic best practices. Efficiently parallel task user-centric web-readiness with bleeding-edge infomediaries. Globally embrace out-of-the-box growth strategies with future-proof “outside the box” thinking.

              <!–more–>

              [mappress mapid="2"]

              But as you can see, on the Homepage, the map appears on top (right after the title), but it shouldn’t be there at all….

               

               

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