Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Michael
tagDiv Member

I just use this in the functions.php

Just change the 111 and 222 to whatever page ID’s you have contact forms on. I have two so there are two page ID’s. I have tested on google page speed test and contact form doesn’t load script or css other than the two pages I want it to.

# Restrict Contact form 7 scripts and styles
function conditionally_load_contactform7(){
if(! is_page( array ( 111 , 222 ) ) ) {
wp_dequeue_script('contact-form-7');
wp_dequeue_style('contact-form-7');
}
}
add_action( 'wp_enqueue_scripts', 'conditionally_load_contactform7' );

Michael
tagDiv Member

Thanks Chris, for some reason I don’t get that option and I’m on latest version except for the update just released last week.

Will keep searching.

Michael
tagDiv Member

Regarding the floating tower ads outside theme border, would this work?

In header.php after </head>

<div id=”float-left”>
Your Ad Code Here
</div>
<div id=”float-right”>
Your Ad Code Here
</div>
Replace ‘Your Ad Code Here’ with your ad code.

AND Custom CSS

/* Begin Floating Ads Style */
#float-left {
position:fixed;
top: 5px;
left: 10px;
bottom: 5px;
width: 120px;
height: 600px;
margin-bottom:15px;
border-bottom: solid #000000;
padding: 5px 0 5px 0;
}

#float-right {
position:fixed;
top: 5px;
right:10px;
bottom: 5px;
float:right;
width: 120px;
height: 600px;
margin-bottom:15px;
border-bottom: solid #000000;
padding: 5px 0 5px 0;
}
/* End Floating Ads Style */

If so would this work on desktop only? How would I turn off for mobile?

Is this something you could ad on next version of theme, same as this Newspaper site http://www.fitnessfirst.com.au/mag/

thanks,

  • This reply was modified 10 years by Michael.
  • This reply was modified 10 years by Michael.
Michael
tagDiv Member

Same issue on my site as what the OP had.

Cleared all CSS, disabled all plugins except VC and still not working. Unable to edit any blocks.

Elements within this list are deprecated and are no longer supported in newer versions of Visual Composer.

Michael
tagDiv Member

You need to put in the whole Analytics tracking script, not just the UA code. Just copy paste from your Google Analytics account.

Michael
tagDiv Member

Does anyone know why these three theme images would cause an F in the Gmetrix speed test.

It’s the small video arrow x 2 and the logo which have this error message “The following image(s) are missing width and/or height attributes”

Speed test result

How to fix? thanks

  • This reply was modified 10 years by Michael.
Michael
tagDiv Member

This image alone will make a huge difference. Open it up in adobe and save for web at 50-60%. Will save 563kb

http://www.eswinoujscie.pl/wp-content/uploads/2014/12/wiesci-z-miasta-urzedu-miasta-dzieci-u-prezydenta.jpg

Michael
tagDiv Member

I have two sites with newspaper theme and one site i don’t update that often anymore with new content, eventually I’m going to merge it into my main site. I upgraded it to 6.1 a week or so ago, tonight i rolled it back to version 4. Just too many bugs in 6, needs more testing. No way am I going to upgrade my main site anytime soon.

Among other things the site speed decreased over 10% on the same content.

  • This reply was modified 11 years by Michael.
Viewing 8 posts - 51 through 58 (of 58 total)