0
votes
0answers
27 views

Post not showing up sometimes on website

I have a weird problem. A particular post is not showing up on my website sometimes. So If I clear cache then it shows up. It is happening only to one particular post. I am not able to figure out what ...
0
votes
1answer
23 views

Page updates appear in Preview but not live version?

I have made some changes to a blog page and excluded some categories. However, whenever I view the blog online the excluded posts still appear. But when I got to the blog page and click 'preview' the ...
0
votes
0answers
46 views

How to cache WordPress posts without using plugins

In a normal PHP page, I can use the following code to save the current PHP page: ob_start(); // write content echo '<h1>Hello world to cache</h1>'; $content = ob_get_contents(); ...
1
vote
1answer
141 views

How to cache a shortcode functions output?

I would like to show on my startpage the total count of posts in a WordPress Multisite. Those are nearly 7000 in 500 Blogs. So I made a function which has to go through every blog to count the posts. ...
0
votes
1answer
2k views

posts_per_page doesnt work

Here is the my custom query ; <?php $Poz = new WP_Query(array( 'posts_per_page' => 3, 'orderby' => 'date', ...
1
vote
1answer
153 views

Mixing Tweets with Posts

I have a client who wants their blog to display both Posts and Tweets in chronological order. These should be mixed into the same feed. I didn't find any plugins that accomplished this, although there ...
0
votes
1answer
65 views

Actions to use when flushing cache (when posts are added / deleted / modified)

I'm looking for a list of action tags that are relevant when you: create a post, with any method, so basically using wp_insert_post modify a post, like changing status, title, content, terms, meta, ...
2
votes
2answers
2k views

Clear cache when a post is submitted

I have a question. How can I clear the cache when a post is submitted ? Actually, I need to clear two speficied pages which display these articles ? By default, I have noticed the index.php is ...