Can’t un-archive site after upgrading to WordPress 3.8
go to php my admin click on database name go to wp_blogs see the column named archive You will see the value as 1 in this column. change it to 0 and save. everything will become fine.
go to php my admin click on database name go to wp_blogs see the column named archive You will see the value as 1 in this column. change it to 0 and save. everything will become fine.
The short answer is yes, that would require programming. It might be easy – just changing a few lines of code to redirect users to the private messaging plugin, but it could get a lot more involved that.
Here is the short sweet answer. Somewhere you, a plugin, or your theme are doing something like this: wp_register_script( ‘myscript’, get_template_directory_uri() . ‘/path/to/myscript.js’, ”, ”, true ); What should be happening is this: add_action( ‘wp_enqueue_scripts’, function() { wp_register_script( ‘myscript’, get_template_directory_uri() . ‘/path/to/myscript.js’, ”, ”, true ); } ); From the Notice: Scripts and styles should … Read more
Does it work in your mamp environment ? If it works then the problem could be that the files are not moved properly from the uploads directory or the database is not imported properly. Please try once again.
aha…white screen of death. I don’t know how I missed it. Your if statement lacks parenthesis. Try this: public function title() { if ( is_category() ) { echo ‘<h2 class=”post_title”>’; } else { echo ‘<h1 class=”post_title”>’; }; echo ‘<a href=”‘; the_permalink(); echo ‘” data-disqus-identifier=”‘; the_ID(); echo ‘”>’; the_title(); if ( is_category() ) { echo ‘</a></h2>’; … Read more
update_option() updating the option with an empty value?
Automate post creation in wordpress
cannot access subsites in wordpress multisite
Including one page with WordPress functions into another
This is the statement I am currently using to extract YouTube URLs from a post: preg_match(‘|http://www.youtube.com/watch\?v=([a-zA-Z0-9\-\_]+)|’, $post->post_content, $matches); $matches[1] contains the ID of the first video. This may not cover all the YouTube URL formats, but it should give you a start.