Tagged Questions
0
votes
0answers
22 views
Retrieve image from content, assign it as a featured, and then remove it from the content
I am trying to grab the first image from the content and use as featured image, then remove the that image from the content.
I found the plugin get the image, but it doesn't save image on the post, ...
-1
votes
0answers
19 views
How do I place an image behind accordion DIV? [closed]
I'm new to wordpress and website building. Just bought a theme and faced an issue.
I want to put my image behind accordion div container. How I can do that?
My theme has content building option, but ...
1
vote
0answers
41 views
Show only posts with images and a fixed amount of posts
I found this code online. Its a code that only shows posts with images inside. Now, the problem is that if you set Wordpress to show 50 posts, this code shows the posts with the images, but also ...
2
votes
1answer
410 views
Change Output for Images in Content
I want to wrap some html (divs and classes) around the tag (to create the appearance of photo corners by way of an image sprite).
Basically, I want to re-write all tags added by WP in the content ...
1
vote
1answer
324 views
Stripping the_content() from images then displaying them seperately
Ok, I've got content with images removed using this code:
$content = strip_tags(get_the_content(), ...
-1
votes
1answer
87 views
The content of the page is collapsed behind the image in portfolio slideshow [closed]
I am using portfolio slideshow
I found that each image is wrapped with div and that div is given a inline style with height and width and other styles like opacity z-index etc. These divs are given ...
1
vote
2answers
8k views
How to get only text from wordpress post content?
I have been using wordpress for my projects. For my homepage of the site I need to display limited text from the post content and the content contains images as well. To display the 100 text i have ...