Comparing two WordPress installations

I assume from your question that the ‘bug’ is an operational thing, not a code failure. So, you can write some PHP code that will put the file hashes of every file of the first site into a database. Then compare those hashes with the hashes from the other site. Any difference in files will … Read more

Find and replace domain name on the fly?

I use these two defines in my wp-config.php file: define(‘WP_HOME’, ‘http://dev.mysite.com’); define(‘WP_SITEURL’, ‘http://dev.mysite.com’); Mind the trailing slash (or rather, the lack thereof), else you’ll get permalink bugs. Also note that they’ll actually get used as is if you insert images and so forth when adding content.

Add URL field to the link post format

In twentythirteen theme, the post format link is shown using the content-link.php file. The part that displays the link is: <h1 class=”entry-title”> <a href=”https://wordpress.stackexchange.com/questions/115376/<?php echo esc_url(twentythirteen_get_link_url());?>”><?php the_title(); ?></a> </h1> So the link is shown using the twentythirteen_get_link_url(); this function uses the wp function get_url_in_content() to get the first link in the content and shows it … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)