Changing the entire permalink

So for the case where you want to change “lesson” to “learn”, there’s actually a “rewrite” option you could use, if you were the one registering the new post type. Since you are not, however, you have to be a little bit more crafty. Thankfully, WP gives you a hook to modify the post registration … Read more

Changing a Child theme’s name on MAMP localhost

Recommended Method You don’t have to change anything in the database. Follow these steps: Activate a default WordPress theme (e.g. twentyseventeen) – that is any theme other than the child theme you are going to rename. Rename your child Themes folder name and child theme’s name in style.css file. Now activate the child theme. That’s … Read more

Unable to install and upload theme due to php.ini file [closed]

You should upload the theme manually to the server – copy the theme folder to your system folder corresponding to this URL: http://localhost/lps/wp-content/themes/ After you’re done copying the files, you will get the option to preview or activate the theme in the admin: http://localhost/lps/wp-admin/themes.php Also, make sure you copy only the theme source folder, and … Read more

Export Yoast Keywords from MySQL/phpMyAdmin

This query pulls the post id, title, permalink, and focus keywords. You could modify this to pull the post meta description and title as well if you wanted. Change post_type to page if you want to pull pages. SELECT wpp.post_title, wpp.ID, wpp.post_date, mt1.meta_value as focus_keyword, REPLACE( REPLACE( REPLACE( REPLACE( wpo.option_value, ‘%year%’, DATE_FORMAT(wpp.post_date,’%Y’) ), ‘%monthnum%’, DATE_FORMAT(wpp.post_date, … Read more

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