Tagged Questions
1
vote
2answers
78 views
Output 2 items within the Loop
I have a query that loops through <li>'s and displays the number of <li>'s I have. Is there a way I can make the loop pull 2 <li>'s at a time rather than one?
// 5 list items
...
0
votes
2answers
59 views
Strip <p> from <blockquote> or something better?
Looking for some help on something that has me really contemplating not using blockquotes for the moment!
I have this code:
<?php
$show_after_p = 1; $content = apply_filters( 'the_content', ...
1
vote
2answers
117 views
How can i remove all html tags from get_the_content()?
i want to remove all html tags from content like <p>, <br>, <img>, <a> i tried strip_tags()
also tried
$content = get_the_content();
$content = apply_filters('the_content', ...
-1
votes
2answers
130 views
Get URL from shortcode tag
I am running a wordpress site and I need the correct regex syntax to get a URL from some shortcode that is returned inside the_content().
When I use the_content(), it will return something like ...
2
votes
1answer
193 views
Wordpress Wysiwyg Content not being displayed
My Wordpress website really isn't working to how I want?!
It was working fine, with nothing being touched, Then lately I find every-page is displaying the same content on each page. Not the ...
0
votes
1answer
78 views
While there is content; applying filters in blocks [closed]
So I'm trying to filter content and get it into 1400 character blocks (or there abouts, using </p> as separation points.
I can do this. My question is (hopefully) a simple PHP one (I am still ...
0
votes
1answer
294 views
Problem in replacing the_content with the_excerpt()
I want to add read more to a blog. For that I need to replace the function the_content(). I found it in the loop file and replaced it with the_excerpt() but still posts are being shown of full length. ...
