Second nav is merged with the first in mobile

In functions.php, change the function magazine_responsive_menu_settings() to the following: function magazine_responsive_menu_settings() { $settings = [ ‘mainMenu’ => __( ‘Menu’, ‘magazine-pro’ ), ‘subMenu’ => __( ‘Submenu’, ‘magazine-pro’ ), ‘menuClasses’ => [ ‘combine’ => [ ‘.nav-primary’, ‘.nav-header’, ], ], ]; return $settings; } Basically, in the combine, I removed ‘.nav-secondary’, This is how it looks like now

Merge posts plugin? [closed]

/** * Merge metadata from one post to another. * * @param int $from_ID Source post ID * @param int $to_ID Target post ID * @param bool $overwrite Whether to overwrite metadata if the key already exists * @return bool|array */ function wpse_20231_merge_postmeta( $from_ID, $to_ID, $overwrite = true ) { // get ALL metadata for … Read more

merging two multisites

A lot depends on the setup of the two current multisites: Do they share a common user base, if any? What kind of plugins are installed, if any? Likewise themes? Is it obvious which one is going to be imported in to the other? How many different authors are there? Things like author IDs will … Read more

Combining two wordpress queries with pagination is not working

You can try the following (untested): Setup the query arguments #1: (today) //—————– // Query part #1: //—————– $args1 = array( ‘post_type’ => ‘post’, ‘orderby’ => ‘comment_count’, ‘ignore_sticky_posts’ => 1, ‘date_query’ => array( array( ‘after’ => date(‘Y-m-d’), ), ‘inclusive’ => true, ) ); Setup the query arguments #2: (!today) //—————– // Query part #2: //—————– … Read more

How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?

Really no easy way to do what you are wanting to do, but what I would do is make a snapshot of your site, implement yoru changes and if anything brakes restore and try again. It might be down for an hour, but I just recently did this when I somehow bricked a site I … Read more