Updated WordPress, now getting errors on site

I suspect this is already resolved in the plugin, but I added a check for the new function in wp-content/plugins/fusion-builder/shortcodes/fusion-image.php:285. if ( ! empty( $image_id ) && function_exists( ‘wp_image_add_srcset_and_sizes’ ) ) { $content = wp_image_add_srcset_and_sizes( $content, wp_get_attachment_metadata( (int) $image_id ), $image_id ); } elseif ( function_exists( ‘wp_make_content_images_responsive’ ) ) { $content = wp_make_content_images_responsive( $content ); … Read more

Main timeline in a different path

Rename your home.php template file as front-page.php. In WordPress parlance, “home” is the Blog Posts Index. The front page of the site is Front Page. Likewise, the home.php template file corresponds to the Blog Posts Index and the front-page.php template file corresponds to the Site Front Page, and the is_home() conditional returns true when on … Read more

Change the menu home link to something else

Funnily enough, I see the same behavior in WordPress 3.4.2 and 3.5-beta2. No plugins active, theme TwentyEleven. Even setting show_home as false will show the Home button ?! Checking the core, I see this filter that does the trick: add_filter( ‘wp_page_menu_args’, ‘wpse_70551_change_page_menu’); function wpse_70551_change_page_menu($args) { $args[‘show_home’] = “Hjem”; return $args; } [Update] This was a … Read more

two columns of posts on homepage, one of them “favorites”

I think you are hearing “crickets” because there are several component to this. You need to: Create a meta_box Save data from that meta box And build a Loop on the front For #1 and #2: function add_featured_meta_box() { add_meta_box(“featureddiv”, “Featured Post”, “featured_post_meta_box”, ‘post’, “side”, “low”); } add_action(“do_meta_boxes”, “add_featured_meta_box”); function featured_post_meta_box(){ global $post; $custom = … Read more

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