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 :)
Ben Iskander
tagDiv Member

Tried both of your suggestions and neither worked. Clearing the browser cache returned no change. As I am only running on a test domain I don’t have any cacheing plugins running and there are no conflicting plugins.

Thanks

Ben Iskander
tagDiv Member

Any info/update on this – it’s becoming an issue on our server 🙁

Ben Iskander
tagDiv Member

Hi Alin,

I tried it via a child theme first and it didn’t work – that’s why I asked as I wondered if I had done something wrong. I should have mentioned that in my post above.

James

Ben Iskander
tagDiv Member

Hi Alin,

You can see this problem on http://www.weddingideastest.com/9-reception-decorations-perfect-for-summer-weddings/

The site is htaccess protected to prevent duplicate content issues as it’s a duplicate of our live site. You’ll need to use weddingideastest for both the username and password.

Thanks,

James

Ben Iskander
tagDiv Member

Thanks Alin,

will this work if I copy the header-style-1.php file to my child theme parts/header folder?

Ben Iskander
tagDiv Member

@Steven – I’ve already done that (you’re right, it is a good feature) – My problem is that I don’t want to regenerate all of my image uploads, just the featured images, as they are the one’s that are affected by changing the theme.

Ben Iskander
tagDiv Member

I was just thinking the same thing after changing to the newspaper theme, but have found that even though Force Regenerate Thumbnails performs an excellent job of re-crunching the images and deleting any outdated sizes, it’s actually creating more images than we had before due to the Newspaper theme image settings.

We need to use 5/6 different sizes of featured images to show properly across the site (category, search, related etc) but Force Regenerate Thumbnails is re-doing ALL of our images, not just our featured one’s. We normally have 5-10 full size images per post and don’t need to generate 5/6 unwanted versions per image.

Is it possible to just regenerate the featured images as this wold work perfectly? There is another regen plugin called Ajax Thumbnail Rebuild that works very well, but it doesn’t delete the unwanted versions like Force Regen does.

🙁

  • This reply was modified 11 years by Ben Iskander. Reason: grammar
Ben Iskander
tagDiv Member

I was wondering the same thing myself @fermin – I think the update page deals more with the jump from 4 to 6 Chris. Is it still the same process for an update as it is for an upgrade?

Ben Iskander
tagDiv Member

Hi Alin,

have read through all the documentation but none of it really applies to my issue.

We use Google’s Doubleclick for Publishers for serving our ads and when using v4 of the theme I was able to use the ad slots meant for AdSense to show the DFP slots in the same positions – I simply included the DFP invocation scripts in the head and everything worked fine, including the ability to turn ad positions on and off.

Since upgrading, the ads are still working as they should but if I disable an ad slot on all devices (say the top of content one) the ad is still showing.

I realise that you designed the theme to use AdSense and not DFP, but has a lot changed on the ads part of the theme for this to stop working?

Ben Iskander
tagDiv Member

Hi Alin – Is there any way to get rid of this error?

Thanks,

James

Ben Iskander
tagDiv Member

Hi Alin,

yes that is what I mean. I’ve used your fix which works fine and will set the sidebar on any individual page basis if needed.

Thanks

Ben Iskander
tagDiv Member

Ha ha no worries Chris, I’ve done that many a time!

🙂

Ben Iskander
tagDiv Member

I’ve managed to add the Pinterest code to the plugin files myself and have just tested it on our site – all appears to be working ok.

If anyone is interested I have made created a version for download (I hope this is ok) for people to use if they need this functionality. It was a simple case of copying some PHP switch cases but you use this at your own risk – I can’t accept any responsibility for any problems or issues!

The file is available at http://www.filedropper.com/td-social-counter-with-pinterest

Regards,

James

  • This reply was modified 11 years by Ben Iskander. Reason: Link in new window
  • This reply was modified 11 years by Ben Iskander.
Ben Iskander
tagDiv Member

Hi Alin,

I have followed the guide – deactivated, deleted and re-uploaded/activated JS Composer, cleared cache etc etc but I’m still getting the error.

Regards,

James

Ben Iskander
tagDiv Member

Hi Alin,

thanks for that fix – will it stop me being able to show/hide sidebars on a page by page basis?

Regards,

James

Ben Iskander
tagDiv Member

Hi Alin,

yes I do and have disabled it on that page – now it’s all working 🙂

Strange that it stops the whole page loading though – normally it just stops any particular ad.

Thanks a lot,

James

Ben Iskander
tagDiv Member

Upon closer inspection it appears to be the ‘enqueueStyle’ function starting at line 540 in class-vc-base.php in plugins/js_composer/include/classes/core.

If I comment out the line ‘wp_enqueue_style( ‘js_composer_front’ );’ the error goes away.


/**
* Enqueue base css class for VC elements and enqueue custom css if exists.
*/
public function enqueueStyle() {
$post = get_post();
if ( $post && preg_match( '/vc_row/', $post->post_content ) ) {
wp_enqueue_style( 'js_composer_front' );
}
wp_enqueue_style( 'js_composer_custom_css' );
}

Ben Iskander
tagDiv Member

Hi Alin,

ok thanks for letting me know.

Is it possible to use the standard woocommerce template override’s though with the theme – i.e. putting them in a folder called woocommerce in my Newspaper child theme?

Thanks,

James

Ben Iskander
tagDiv Member

Thanks Alin, worked a treat – thanks for your help 🙂

Ben Iskander
tagDiv Member

I’m really surprised this hasn’t been included in the theme by now – it’s such an important social network!

Any chance this will become integrated soon?

Ben Iskander
tagDiv Member

Thanks Lucian, Any ideas on how to make this work in my child theme? It works if I edit the parent theme but not by having the same file in my child theme folder.

Regards, James

Ben Iskander
tagDiv Member

Hi @moregoodfoundation, thanks for your code examples but for some reason it’s not returning the follower count for me. Everything else appears to be working. The meta tag for our follower count is…

<meta name="pinterestapp:followers" content="40038">

Strange!

Viewing 22 posts - 1 through 22 (of 22 total)