WordPress Page Width Issue: Seeking Solutions
WordPress Page Width Issue: Seeking Solutions
WordPress Page Width Issue: Seeking Solutions
Your Site Logo is surrounded by a class named “custom-logo-link”. So try to add .custom-logo-link { border:0; }
There are plenty of ways to improve the speed of your WordPress site Irrespective of theme/ plugins you have used. Add caching plugin supercache which will show tremendous decrease in the speed loading time of your site. Put Following script in your sites .htacces file # BEGIN EXPIRES ExpiresActive On ExpiresDefault “access plus 10 days” … Read more
Remove: add_filter( ‘get_the_excerpt’, ‘replace_post_excerpt_filter’ ); function replace_post_excerpt_filter($output) { return $output; } from your code, and you should find it works. The trouble with nested functions, as you have here, is that once the parent function is called the first time, it defines the inner function, but when the parent function is called the second time … Read more
The answer to which framework you should use is — no one knows. From code perspective there is certain degree of baseline theme functionality/experience — enforced by formal standards. Those things are recommended/required for inclusion into official theme directory, outside of that people can do things a little more lax. Frameworks exist for different reasons. … Read more
I have attempted answering my own question with the following code: // Added to layout.php in /genesis/lib/structure.php add_action(‘genesis_before’, ‘modalwindow_layout_logic’); function modalwindow_layout_logic() { $site_layout = genesis_site_layout(); if ( $site_layout == ‘modalwindow’ ) { // Remove default genesis sidebars remove_action( ‘genesis_after_content’, ‘genesis_get_sidebar’ ); remove_action( ‘genesis_after_content_sidebar_wrap’, ‘genesis_get_sidebar_alt’); remove_action( ‘genesis_footer’, ‘genesis_do_footer’ ); remove_action( ‘genesis_header’, ‘genesis_do_header’ ); // Remove layout … Read more
You would have to write custom code in PHP/HTML and style (CSS) the logo accordingly. As far as I can see, you can’t add it through a plugin. Are you using this theme?
EDIT Try this code: remove_action( ‘genesis_loop’, ‘genesis_do_loop’ ); add_action( ‘genesis_loop’, ‘sk_do_loop’ ); function sk_do_loop(){ global $wp_query; $temp_query = $wp_query; // Fix for the WordPress 3.0 “paged” bug. $paged = 1; if ( get_query_var( ‘paged’ ) ) { $paged = get_query_var( ‘paged’ ); } if ( get_query_var( ‘page’ ) ) { $paged = get_query_var( ‘page’ ); … Read more
This should remove the warning $selector = get_theme_support( ‘genesis-style-selector’ ); $wp_customize->add_control( ‘genesis_color_scheme’, array( ‘label’ => __( ‘Select Color Style’, ‘genesis’), ‘section’ => ‘genesis_color_scheme’, ‘settings’ => $this->get_field_name( ‘style_selection’ ), ‘type’ => ‘select’, ‘choices’ => array_merge( array( ” => __( ‘Default’, ‘genesis’ ) ), array_shift( $selector ) ), ) );
The problem is the fact that you are trying to echo something into a string, echo should only be used to output something, so simply change the following line: $items .= ‘<li class=”myclass”>’ . echo do_shortcode(‘[shopping_cart]’) . ‘</li>’; To this: $items .= ‘<li class=”myclass”>’ . do_shortcode(‘[shopping_cart]’) . ‘</li>’; Edit: On another note, this is merely … Read more