Matthias
Forum Replies Created
-
Any news on that? Have the same issue over and over again… appears suddenly.
Have the same problem over and over again. Thanks for the hint with the other post!
Forum: Plugins
In reply to: [Email Address Encoder] Does not encode link with custom textNo, it’s somewhere underneath the part with the aaa_show_posts() shortcode.
I checked the source code. When the shortcode is not placed on the page, everything is fine (read: your plugin works like a charm). But as soon as I put this shortcode somewhere on the page (doesn’t matter if it’s above or underneath the email link), the mail link isn’t encoded anymore.
Guess I have to re-write my shortcode somehow…
Forum: Plugins
In reply to: [Email Address Encoder] Does not encode link with custom textOn the page there is a lot of static content/text. And in between two of the text blocks, there should be all the posts of a given category. I thought the simplest way to do this is a shortcode that displays those posts.
page.php
https://pastebin.com/GHAgeDcccontent-page.php
https://pastebin.com/rJRxkJxpshortcodes.php (the used snippet for the post listing)
https://pastebin.com/RBG36dSK…sorry for the troubles.
Forum: Plugins
In reply to: [Email Address Encoder] Does not encode link with custom textDo you mean the html output or the page.php (and the shortcodes.php)?
Hmmm… I found the problem – it was me, what else? ;). I added the following snippet to content.php:
I added the following snippet to content.php:
(...) title="Show post: <?php the_title(); ?>" (...)
…but I don’t understand exactly why it gets highlighted when I put this in the title attribute. Any ideas?
Thanks,
MatthiasForum: Plugins
In reply to: [Email Address Encoder] Does not encode link with custom textHmm.. found why it doesn’t work: The snippet above is written in the WordPress Editor and is placed on a (static) content page. Somewhere before that part there is a shortcode that shows posts from a certain category (announcements), which should be displayed as normal content in between two other text blocks (written in the editor).
When I remove the shortcode above that said text part, the plugin works fine and the email link is encoded.
This is the part where the shortcode gets the posts:
$return_string = ''; query_posts(array('orderby' => $order_by, 'order' => $order, 'cat' => $category_id , 'category_name' => $category_name , 'showposts' => $posts)); if (have_posts()) : while (have_posts()) : the_post(); $content = get_the_content(); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); $return_string .= '<div class="listed-post">'; $return_string .= '<h2>'. get_the_title() .'</h2>'; $return_string .= $content; $return_string .= '</div>'; endwhile; endif; wp_reset_query(); return $return_string;
Any ideas how I could fix that?
Brilliant! Thanks in advance!
I have the same problem right at the moment. Is there a possibility to add a “redirectMatch 301” ?
f.e. “redirectMatch 301 ^/downloads/ https://www.newdomainname.com/new-download-folder/”
Cheers, Matthias