Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


Sidebar

"`Right,' said Ford, `I'm going to have a look.'
He glanced round at the others.
`Is no one going to say, "No you can't possibly, let me go
instead"?'
They all shook their heads.
`Oh well.'"

- Ford attempting to be heroic whilst being seiged by Shooty and Bangbang.



Where will you go today?

"Another world, another day, another dawn. "
computers:websites:wordpress

Wordpress

Disable Cron

wp-cron.php is run everytime a user accesses the site. Needless to say, this can slow down a site. So it can help to disable the automatic wp-cron.pnp and instead just add a cron job that runs it every 30 mins:

Add this to wp-config.php

define('DISABLE_WP_CRON', true);

Then create a cron job (usually in your cPanel, though you can use crontab too) that runs it every 30 mins

php -f /home/user/public_html/wp-cron.php

Or you can run curl to fetch it:

curl -sS http://www.example.com/wp-cron.php

See also:

To disable the wordpress

Other Notes

How to Publish a WordPress Post with a Future Date but Display Now http://onetarek.com/wordpress/publish-a-wordpress-post-with-a-future-date/

Prevent authors from publishing too short content http://www.prohi5.com/prevent-authors-publishing-short-content

Dash Icons: https://developer.wordpress.org/resource/dashicons/

How to stretch background image in css

body
{
background-image: url(stars.gif);
background-repeat: repeat-x
}
 
<strong>Possible Values</strong>
<em>Value 	     Description</em>
repeat 	Default. The background image will be repeated vertically and horizontally
repeat-x 	The background image will be repeated horizontally
repeat-y 	The background image will be repeated vertically
no-repeat 	The background-image will be displayed only once

Nice themes:

Tile Themes:

http://www.cssigniter.com has a nice selection (but have never bought one).

Funny themes:

Unknown

computers/websites/wordpress.txt · Last modified: Apr 5, 2015 (4 years ago) by Matt Bagley