content disappearing minutes after it’s published

It is true that this problem will need some extensive (and knowledgable) hands-on to fix. In general, though, I would disable all caching, including any that JetPack does use my hosting File access (or FTP) to edit/change htaccess change all credentials – WordPress, hosting, FTP, databases – resetting all passwords to different (and strong) reinstalling … Read more

Split the_content into two parts

Solution one: As the wise commenter mentioned, you can use excerpts. the_excerpt() (link) “retrieves the post excerpt”. get_the_excerpt() is going to be a string so you can wrap it up in whatever you fancy and after that, you can call the_content() to get the rest. The only downside that I see is that you’ll have … Read more

How to put post title or keyphrase in content on different places automatically?

You can search-replace those placeholders with the_content filter. function custom_the_content( $content ) { return str_replace(‘{placeholder}’, get_the_title(), $content); } add_filter(‘the_content’, ‘custom_the_content’); Note: I don’t recommend using *** or similar as a placeholder, as it can be commonly used. That is why I’ve used {placeholder}. UPDATE: Based on the comments below, if you need to search-replace multiple … Read more

Can local WordPress installs share /wp-content/ folder and database?

For wp-content folder you need to add WP_CONTENT_DIR with path to this folder to each wp-config.php file of each your sites. All of these WP_CONTENT_DIR constants should have the same path to one folder. Read more about it here: http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content To share the same database, you just need to setup the same database settings in … Read more