figure2
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Need to add a Metaslider slideshow to the headerHere is my child theme’s functions file if you want to have a look: https://www.markhannondesign.com/clientJobs/functions.zip
Forum: Themes and Templates
In reply to: [GeneratePress] Need to add a Metaslider slideshow to the headerThanks Tom, the code that I’ve been posting is already in the functions.php file of my child theme. Should I add it as a plugin with just this code?
Forum: Themes and Templates
In reply to: [GeneratePress] Need to add a Metaslider slideshow to the headerThanks Tom,
I am not sure where to put this, but here is what I did:`// Build our tagline
add_filter( ‘generate_site_description_output’, function( $output ) {
echo do_shortcode(‘[metaslider id=”4170″]’);
echo $output;
} );$site_tagline = apply_filters( ‘generate_site_description_output’, sprintf(
‘<h3 class=”site-description”><span>%1$s</span></h3>’,
html_entity_decode( get_bloginfo( ‘description’, ‘display’ ) )
));`Here is the result:
The slideshow does in fact display but both it and the .site-description H3 headline has been pulled out of the .site-branding which is now empty below both elements.
Forum: Themes and Templates
In reply to: [GeneratePress] Need to add a Metaslider slideshow to the headerThanks Leo, the slideshow should go inside the div with the class of “site-branding,” above the .site-description H3 headline, also inside .site-branding.
The .site-branding div is between the logo and the header widget. I have things moved around and reconfigured in my child theme.
In other words, it should look like this, once I add the necessary CSS:
Forum: Themes and Templates
In reply to: [Appointment] Where is my site title and tag line?Sorry, neglected to provide the link: https://kornbluth-consulting.markhannondesign.com
Forum: Plugins
In reply to: [One Click Order Re-Order] Discounts with reorder?Thanks cedcommerce. I’ll let my client know.
Forum: Fixing WordPress
In reply to: wp_enqueue_script() $ver parameter problemActually no. I recreated it since the laptop the actual code was on was not powered up. Sorry for the confusion.
Forum: Fixing WordPress
In reply to: wp_enqueue_script() $ver parameter problemMissing quotes around the $ver parameter and missing “,” following it. Now I feel stupid.
But it just goes to show when you are staring at this code for long enough these errors get sneaky and hide in plain sight.
Thanks for the troubleshooting tip.
Forum: Fixing WordPress
In reply to: wp_enqueue_script() $ver parameter problemThanks Ross, I give that a try.
Forum: Fixing WordPress
In reply to: wp_enqueue_script() $ver parameter problemSorry about the bad link. I accidentally added the post tags to the “The page I need help with” field.
Forum: Localhost Installs
In reply to: Weird localhost plugin problem I can’t seem to duplicateThanks, by the way.
Forum: Localhost Installs
In reply to: Weird localhost plugin problem I can’t seem to duplicateActually you set me on the right track. I was able to keep the name of the plugin “Portfolio” inside the opening comments in the PHP file as long as I renamed the php file itself from “portfolio.php” to “mhd-portfolio.php.”
The incorrect Plugin URI link is gone.
Forum: Developing with WordPress
In reply to: Adding additional attributes to the tagThanks! that worked.
Turns out there are js errors that the console found but none with my code. Don’t even know there these files are.
Forum: Fixing WordPress
In reply to: Need help with add_image_size()One additional note: I installed and ran the “Regenerate Thumbnails” plugin. Problem persisted.
Forum: Developing with WordPress
In reply to: Need some help with dropdown menu behaviorWow! Such a simple thing. Worked like a charm. Thanks so much!

