-1
votes
0answers
23 views

Something wrong with the way the site loads [migrated]

I own a small blog and recently random people have been telling me that my site has loading problems as in the site will load but only pictures will show and not the text. I've never encountered the ...
0
votes
0answers
41 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
104 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
0answers
43 views

Scheduling daily refresh of posts

So here's my situation: I'm using AmazonSimpleAdmin to display products using the Amazon API. I have one product per post. The API limits 1 request per second. Meaning my front page can only have one ...
0
votes
1answer
1k 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
143 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
63 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 ...