After changing Site http to https, can’t access wp login page with a digitalocean hosting

Make sure you set the site name correctly. Download your wp-config.php file via ftp, and add these lines: define( ‘WP_HOME’, ‘https://example.com’ ); define( ‘WP_SITEURL’, ‘https://example.com’ ); Notice the httpS. Also, if you are only using Cloudflares SSL, make sure to change the setting to Flexible SSL. But if you also have your own SSL certificate … Read more

Current WordPress Page Title as Search Parameter into A Tag

Your shortcode is getting the title, but you haven’t told it to return anything, so a small tweak should fix things: <?php function post_title_shortcode(){ return get_the_title(); } add_shortcode(‘post_title’,’post_title_shortcode’); ?> You could also continue setting get_the_title() to $variable and add a line to return $variable, but the above is the simplest, shortest option.

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