Forum Replies Created
-
AuthorPosts
-
chalfantMember
Thank you, Davinder.
Most kind of you, again!chalfantMemberThanks, Andrea.
FYI.......... I'm trying to give more thought to the category issue.
Be in touch.chalfantMemberPermalink Settings are-
Post name - http://thevaperstable.com/sample-post/Well, Andrea............ It WAS the WP SEO Plug by Yoast.
Is there a fix for this?chalfantMemberOK, I appreciate everything you've done, Andrea.
I'm going to play around with this and report back later.chalfantMemberHI Andrea.
I tried that but to no avail. Who knows what I did?chalfantMemberI too have used VC for Genesis but I honestly feel that almost all the features are easily handled with either a bit of know how or free plugs, such as Andrea's suggestion.
My knowledge of code is almost zero but after a while you pick things up.
If there's one thing I do know..........
Too many plugins cause bloating and complications down the road.
For the most part it's best to handle style/layout issues with CSS.chalfantMemberThanks, Andrea.
Sure appreciate this.I'm in the office all day so whenever................
chalfantMemberOkay. I did it and the site is back up,
The title and nav did not swap but tonight this is not my main concern as I've been up since 4am. Need sleep!You are a WP Guru Andrea. Thanks so much for the time..........
Be in touch
CharleschalfantMember<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );//* Set Localization (do not remove)
load_child_theme_textdomain( 'agency', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'agency' ) );//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', __( 'Agency Pro Theme', 'agency' ) );
define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/agency/' );
define( 'CHILD_THEME_VERSION', '3.0.0' );//* Add HTML5 markup structure
add_theme_support( 'html5' );//* Add viewport meta tag for mobile browsers
add_theme_support( 'genesis-responsive-viewport' );//* Enqueue EB Garamond and Spinnaker Google fonts
add_action( 'wp_enqueue_scripts', 'agency_google_fonts' );
function agency_google_fonts() {wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=EB+Garamond|Spinnaker', array(), CHILD_THEME_VERSION );
}
//* Enqueue Backstretch script and prepare images for loading
add_action( 'wp_enqueue_scripts', 'agency_enqueue_backstretch_scripts' );
function agency_enqueue_backstretch_scripts() {//* Load scripts only if custom background is being used
if ( ! get_background_image() )
return;wp_enqueue_script( 'agency-pro-backstretch', get_bloginfo( 'stylesheet_directory' ) . '/js/backstretch.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_script( 'agency-pro-backstretch-set', get_bloginfo( 'stylesheet_directory' ).'/js/backstretch-set.js' , array( 'jquery', 'agency-pro-backstretch' ), '1.0.0' );wp_localize_script( 'agency-pro-backstretch-set', 'BackStretchImg', array( 'src' => str_replace( 'http:', '', get_background_image() ) ) );
}
//* Add new image sizes
add_image_size( 'home-bottom', 380, 150, TRUE );
add_image_size( 'home-middle', 380, 380, TRUE );//* Add support for custom background
add_theme_support( 'custom-background', array( 'wp-head-callback' => 'agency_background_callback' ) );//* Add custom background callback for background color
function agency_background_callback() {if ( ! get_background_color() )
return;printf( '<style>body { background-color: #%s !important; }</style>' . "\n", get_background_color() );
}
//* Add support for custom header
add_theme_support( 'custom-header', array(
'header_image' => '',
'header-selector' => '.site-title a',
'header-text' => false,
'height' => 60,
'width' => 300,
) );//* Add support for additional color style options
add_theme_support( 'genesis-style-selector', array(
'agency-pro-blue' => __( 'Agency Pro Blue', 'agency' ),
'agency-pro-green' => __( 'Agency Pro Green', 'agency' ),
'agency-pro-orange' => __( 'Agency Pro Orange', 'agency' ),
'agency-pro-red' => __( 'Agency Pro Red', 'agency' ),
) );//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );//* Reposition the header
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
add_action( 'genesis_before', 'genesis_do_header', 10 );
add_action( 'genesis_before', 'genesis_header_markup_close', 15 );//* Remove the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );//* Register widget areas
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home Top', 'agency' ),
'description' => __( 'This is the top section of the homepage.', 'agency' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle',
'name' => __( 'Home Middle', 'agency' ),
'description' => __( 'This is the middle section of the homepage.', 'agency' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom',
'name' => __( 'Home Bottom', 'agency' ),
'description' => __( 'This is the bottom section of the homepage.', 'agency' ),
) );chalfantMemberOK, done.
I noticed however that the copied file is slightly smaller?But now I'm scared to touch anything!
chalfantMemberYes, doing that now........... Give me a few minutes.
Thanks so, so much!chalfantMemberThanks Andrea, yes, I know..........
I really hate windows and IE but it's all I have presently.
No biggie but I'll be stopping by your site as soon as the update is done 🙂chalfantMemberOops..........
I followed the directions but got this error-Parse error: syntax error, unexpected T_STRING in /home4/chalfant/public_html/wp-content/themes/agency-pro/functions.php on line 108
Sorry, Andrea. Not sure what I did wrong but I did copy as directed.
I removed the paste info but this error still remains. Obviously the site is not responding.chalfantMemberThanks, Andrea. Much appreciated
chalfantMemberDecided to grab another theme so we shall see how I go, thanks
chalfantMemberNo, the update doesn't help and it's because there's an issue with IE 11 and Genesis.
Trying now to get Firefox to work or display properly............chalfantMemberHi there, jhgynn.
Yes, it is excellent and Dynamik is too!
Problem is my IE. Driving me nuts!Going to grab one or the other and will have to find a solution to using Chrome OR Firefox.
chalfantMemberOK, tested the Extender update but it still doesn't work on my site.
I'm testing the Dynamik builder now, let you know later how it goes.chalfantMemberYes and you should take advantage of html5.
The Pro version is available for you to download, free of charge.chalfantMemberI use IE 11 and there are known issues using genesis and wordpress according to Coppyblogger.
They said they will fix these in a future update.I'm not able to select layouts or change them.
Nor will the changes with Extender display, even when saved.For months I've been trying to switch to Chrome OR Firefox but cannot get the fonts to display like IE.
Websites always look terrible so I can't use those options. Pity because who doesn't love Firebug!? -
AuthorPosts