Sridhar Katakam
Forum Replies Created
-
Forum: Plugins
In reply to: [Genesis Simple Sidebars] Genesis 2.2.7Forum: Plugins
In reply to: [Dynamic "To Top" Plugin] 3 years since last updateThanks for the recommendation of that plugin Steven.
I have switched to it.
Forum: Themes and Templates
In reply to: Genesis Sample theme header logoAdd this in your child theme’s functions.php:
/********************************** * * Replace Header Site Title with Inline Logo * * @author AlphaBlossom / Tony Eppright * @link https://www.alphablossom.com/a-better-wordpress-genesis-responsive-logo-header/ * * @edited by Sridhar Katakam * @link https://sridharkatakam.com/use-inline-logo-instead-background-image-genesis/ * ************************************/ add_filter( 'genesis_seo_title', 'custom_header_inline_logo', 10, 3 ); function custom_header_inline_logo( $title, $inside, $wrap ) { $logo = '<img src="' . get_stylesheet_directory_uri() . '/images/header.png" alt="' . esc_attr( get_bloginfo( 'name' ) ) . ' Homepage" />'; $inside = sprintf( '<a href="%s">%s<span class="screen-reader-text">%s</span></a>', trailingslashit( home_url() ), $logo, get_bloginfo( 'name' ) ); // Determine which wrapping tags to use $wrap = genesis_is_root_page() && 'title' === genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : 'p'; // A little fallback, in case an SEO plugin is active $wrap = genesis_is_root_page() && ! genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : $wrap; // And finally, $wrap in h1 if HTML5 & semantic headings enabled $wrap = genesis_html5() && genesis_get_seo_option( 'semantic_headings' ) ? 'h1' : $wrap; return sprintf( '<%1$s %2$s>%3$s</%1$s>', $wrap, genesis_attr( 'site-title' ), $inside ); } // https://sridharkatakam.com/how-to-remove-site-description-tagline-in-genesis/ add_filter( 'genesis_attr_site-description', 'abte_add_site_description_class' ); /** * Add class for screen readers to site description. * * Unhook this if you'd like to show the site description. * * @since 1.0.0 * * @param array $attributes Existing HTML attributes for site description element. * @return string Amended HTML attributes for site description element. */ function abte_add_site_description_class( $attributes ) { $attributes['class'] .= ' screen-reader-text'; return $attributes; }
References:
https://sridharkatakam.com/use-inline-logo-instead-background-image-genesis/
https://sridharkatakam.com/how-to-remove-site-description-tagline-in-genesis/
I do not want “professional” support.
I am just letting you know that one of the features of the plugin is broken and that you might want to fix it.
Forum: Plugins
In reply to: [The Events Calendar] is_archive()Forum: Plugins
In reply to: [Unsplash WP] 'Unable To Save Image'Same problem on localhost via DesktopServer on a Mac.
I have set 777 to agency-pro.dev/wp-content/plugins/unsplash-stock-photo-library/admin but no dice.
Forum: Plugins
In reply to: [Genesis Responsive Slider] Slider Stuck on 2nd SlideI have seen this before.
@dpnguyen: In the slider settings do the ‘Time Between Slides’ and ‘Slide Transition Speed’ fields have values or are both or is one of them empty?
Forum: Fixing WordPress
In reply to: get_the_date() not showing today's dateNever mind.
I realized that get_the_date() is supposed to show the WP entry published date, not today/current date.
Thanks.
Updating GF to 1.8.12.6 fixed it.
Forum: Plugins
In reply to: [Genesis Grid] Full Content for FeaturesNot sure why it wasn’t working yesterday. It’s fine now.
Forum: Plugins
In reply to: [Genesis Responsive Slider] Remove Link From TitleLine 322 of wp-content/plugins/genesis-responsive-slider/genesis-responsive-slider.php.
Change
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
to
<h2><?php the_title(); ?></h2>
Warning: Changes made in plugin’s files will be erased when that plugin is updated.
Forum: Plugins
In reply to: [Genesis Responsive Slider] Remove Link From TitleIt is possible to do this by editing the plugin’s PHP file.
I do not know a method otherwise.
Forum: Plugins
In reply to: [Simple Social Icons] Removing plugin's CSSThank you Ron.
Forum: Plugins
In reply to: [Simple Social Icons] Removing plugin's CSSGot it.
add_action( 'wp_enqueue_scripts', 'sk_disable_simple_social_icons_styles', 11 ); function sk_disable_simple_social_icons_styles() { if ( class_exists( 'Simple_Social_Icons_Widget' ) ) { /** Dequeue icon styles */ wp_dequeue_style( 'simple-social-icons-font'); } }
Got help in IRC.
Appreciate it.
If you can consider wrapping all the input fields in a div with a class and/or ID, that would be helpful too.