squasher
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Shortcode only produces text “Array”I was afraid of that. However, I tried your suggestion as well, but everytime the page reloads the shortcode gets placed on the next line…
This is my code:
<div class="col-container">[column_left colour="yellow"]<h1 class="blockquote">...And after a look at the preview the code is changed to:
<div class="col-container"> [kolom_links kleur="wit"] <h1 class="blockquote">And back is the <p></p> above the H1!
Frustrating!
- This reply was modified 8 years, 11 months ago by squasher.
Forum: Developing with WordPress
In reply to: Shortcode only produces text “Array”I found this solution for the p-tags: remove_filter( ‘the_content’, ‘wpautop’ );
It works, but is this wise to do? Not sure…
Forum: Developing with WordPress
In reply to: Shortcode only produces text “Array”Hi Jacob,
Thanks, you’re absolutely right! That was wat I’m trying to do and your solution works like a charm.
By the way, one (WordPress) thing is annoying: the shortcode is placed on a new line and in the frontend it outputs an empty <p>-tag. I can not get rid of it. Any ideas how to loose this <p>-tag?
Thanks again!
Forum: Fixing WordPress
In reply to: Looking for content slider pluginHi,
Thanks, I’m going to try it!