How to migrate the posts from an old custom legacy blog to a new WordPress website?

Old unanswered question, but found this via the googles (1st answer) that appears to have good info / links (might be useful to someone): What is the required format for importing posts into WordPress? Plus this one from the Codex, which has info on importing from all sorts of formats, including RSS and XML. https://codex.wordpress.org/Importing_Content … Read more

Why isn’t the canonical link element used for all pages?

It’s not like every single page is magically better with canonical link. The technical purpose of canonical link is to de–duplicate identical or nearly–identical content at different URLs. It doesn’t make sense for archives because they are : collections of content moving target, what is on front page or archive right now won’t be there … Read more

How can I use a $wp_customize to edit my homepage image slider?

Currently not. You cannot set an array of n fields in you WP_Customize_Manager::add_control method in the customize_register action hook. The class creating the controls is WP_Customize_Control and does only accept the following types: checkbox radio select textarea dropdown-pages and per default any valid input type You will need an options page to edit/create your gallery … Read more

Processing a subscription form with POST method?

This solution is based on a couple of WPMU Dev plugins: PopUp Pro and Mailchimp Integration. If you are WPMU Dev member then download and install them either from their Project pages or via the WPMU Dev dashboard in your WordPress admin interface. Most of the effort is in creating a custom style for the … Read more

How to add custom taxonomy slug in CPT permalink?

I solved this way: Register Custom Post Type: function custom_post_articles() { $labels = array( ‘name’ => _x( ‘Articles’, ‘post type general name’, ‘textdomain’ ), ‘singular_name’ => _x( ‘Article’, ‘post type singular name’, ‘textdomain’ ), // etc… ); $args = array( ‘labels’ => $labels, ‘public’ => true, ‘menu_position’ => 5, // Below Posts. ‘menu_icon’ => ‘dashicons-megaphone’, … Read more