Search Results for 'cdn'

Results from the Forum
simchris
tagDiv Member

That would not make sense; since they are two totally different things.
Try clearing all the caching in both the server/cdn if using and in browser.

rozubihc
tagDiv Member

Thank you for your help so far Andrei L.

I don’t know what I might be missing but I certainly need some help with this share buttons situation

What i’m trying to do: Add a whatsapp and email share button to my Newsmag theme.

Things I understand that i’m supposed to-do are

To-do 1. Add the Font Awesome Icon plugins
Attempted Solution 1: I installed this plugin https://wordpress.org/plugins/font-awesome/
Attempted Solution 2: I inserted the following code to (the parent theme’s) [theme folder]/function.php file.


add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' );
function enqueue_font_awesome() {

	wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css' );

}

I got the code above from a different site while trying to figure out how to add FA icon to my site.

To-do 2: Edit “./wp-content/themes/Newsmag/includes/modules/td_module_single.php”

Attempted solution:Added the following code


<a href="//send?=' . esc_url( get_permalink() ) . '"><i class=”fa fa-whatsapp fa-lg”></i></a>

To-do 3: Add custom CSS
Attempted Solution: Added the following code to the “Your Custom CSS”


.td-social-whatsapp {
background-color: #60b82d;
}

.td-social-whatsapp .td-icon-whatsapp {
font-size: 24px;
position: relative;
top: 2px;
left: 1px;
}

.td-social-pinterest {
margin-right:8px;
}

@media (min-width: 787px){
.td-social-whatsapp {
display: none !important;
}

After all of the above nothing has worked(whatsapp button has not appeared). What am i missing?

Is there a plugin i can add to make this part easier.

I really appreciate any more help I can get.

  • This reply was modified 10 years by rozubihc.
findlay
Participant
#0

Since last Monday my site howdoidate.com has been taking too long to load (around 5 secs). Before Monday the average was 1.5 seconds. The hosting company Hostgator are blaming the Newspaper Theme but i suspect they have made a policy decision and have set the server latency longer. Google insights says the server response time is too slow at 3.2 seconds.

I’m on a VPS and use a CDN too – MaxCDN.

I’m considering changing to a new hosting company.

What is your view?

Thank you.

simchris
tagDiv Member

You might share screen shot of your ad panel, showing the setup for your article ads.

Also make sure you clear your site cache, any CDN caching you’re using, etc. — otherwise changes not seen.

Healthills
tagDiv Member

Hi,

Thank you so much, it works! I got one more question:

My Mailchimp form won’t appear on mobile, do you know why?
Here’s the code.

Thanks.

<<!– Begin MailChimp Signup Form –>
<link href=”//cdn-images.mailchimp.com/embedcode/classic-081711.css” rel=”stylesheet” type=”text/css”>
<style type=”text/css”>
h1{ position:center;}
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }

</style>
<div id=”mc_embed_signup”>
<form action=”//healthills.us11.list-manage.com/subscribe/post?u=ce8bee94e661810bed5419e47&id=81426b9ae7″ method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank” novalidate>
<div id=”mc_embed_signup_scroll”>
<h1>SING UP FOR HEALTHILLS’S NEWSLETTER</h1>
<div class=”mc-field-group”>
<label for=”mce-EMAIL”>Email Address </label>
<input type=”email” value placeholder=”Email” name=”EMAIL” class=”required email” id=”mce-EMAIL”>
</div>
<div class=”mc-field-group”>
<label for=”mce-FNAME”>First Name </label>
<input type=”text” value placeholder=”First Name” name=”FNAME” class=”required” id=”mce-FNAME”>
</div>
<div id=”mce-responses” class=”clear”>
<div class=”response” id=”mce-error-response” style=”display:none”></div>
<div class=”response” id=”mce-success-response” style=”display:none”></div>
</div> <!– real people should not fill this in and expect good things – do not remove this or risk form bot signups–>
<div style=”position: absolute; left: -5000px;”><input type=”text” name=”b_ce8bee94e661810bed5419e47_81426b9ae7″ tabindex=”-1″ value=””></div>
<div class=”clear”><input type=”submit” value=”Subscribe” name=”subscribe” id=”mc-embedded-subscribe” class=”button”></div>
</div>
</form>
</div>
<script type=’text/javascript’ src=’//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js’></script><script type=’text/javascript’>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]=’EMAIL’;ftypes[0]=’email’;fnames[1]=’FNAME’;ftypes[1]=’text’;}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!–End mc_embed_signup–>
>

Bogdan B.
tagDiv Staff

Hi,

That happens because the setting you currently use has been changed in the latest update. It’s enough to go to theme panel >categories and set the category template: http://screencast.com/t/Z2EDhO18khuK make sure you clear the cache, purge cdn file if you’re using and test again.

Thanks!

simchris
tagDiv Member

Try resaving permalinks, turning off any new plugins — if something “suddenly” stops working, it usually comes from a plugin update that no longer “plays nice” — a caching issue, or issue with CDN/similar.

Try
a) resave permalinks
b) clear any/all caching
c) turn off all plugins except Visual Composer.

See what happens.

Might or might not help. I’ve also found naming the static home page something other than “home” works better, like “homepager” since the static page isn’t supposed to be seen by anyone — it’s just for building the page which gets loaded by the theme as the default home; so nobody should be going to yoursite.zz/nameofhomepage

  • This reply was modified 10 years by simchris.
Bogdan B.
tagDiv Staff

Hello Rhonda,

I see you are moving your website to another URL. Try to save your permalinks again and disable all of your plugins except visual composer, clear your cache and purge files if you use CDN.
If the problem is still there let us know.

Thank you

Radu
tagDiv Staff

Hi,

for a cdn, try out cloudflare… you have to change your main domain DNS to it but once it’s done, you have a lot of flexibility of what it’s cached and what it’s not. If you switch to cloudflare, try to not enable the advanced optimizations… they tend to interfere not only with our theme but with a lot of web apps.

Bogdan B.
tagDiv Staff

Hello dragon,

This option in posts settings picks up the post template you select in the theme panel:
http://screencast.com/t/wZ9lqrC6Bg
If it does not pick up the post template you set, please disable all of your plugins except visual composer, clear cache and purge files if you use CDN.
If the problem is still there let us know

Thank you!

zankkasz
tagDiv Member

Thanks, Radu!

Your recommendation worked wonders! I tried W3tc, Wprocket to no avail. I dont understand why people on this forum complain so much about wpsupercache. My site was having 10s page load speed on pingdom and now it’s under 3s. The only thing I havent managed to setup properly was the cdn function. I am using cloudfront from amazon. Any suggestions?

Bogdan B.
tagDiv Staff

Hello Dematteo,

You can try to disable all your plugins except visual composer. Sometimes plugins can create problems or conflicts. Also clear your cache and purge files if you use CDN.
If the problem is still there, provide more details so we can closer incpect the issue.
Let us know!

Thank you.

Akpan Promise
tagDiv Member

In your WP Rocket, there will be space to fill in the details of yur CDN

Alin [tagDiv]
tagDiv Staff

Hi,

Did you updated from version 4 of the theme? If you did used the old version please check this guide how to upgrade – https://forum.tagdiv.com/how-to-update-the-theme-2/
Do you have this issue only in backend? Please provide more details about this and also your site url so I can take a look. Also disable all your plugins except of Visual Composer, clear cache and purge your files if you use CDN.

Thanks!

Radu
tagDiv Staff

Hello all,

I do not believe this is an issue with our community… Your site is available on the net and anyone can try to attack it. In general all most of the WordPress sites have strange traffic, there seems to be a lot of bots that crawl for insecure WordPress sites. The best way to protect yourself is what Chris S recommended here https://forum.tagdiv.com/topic/newspapertagdiv-powered-websites-showcase/page/4/#post-70075 . In addition to the very good recommendations I also use Cloudflare CDN, it basically sits between your server and the internet and it’s very efficient when it comes to attacks.

Bogdan B.
tagDiv Staff

Hello vikrant,

I have checked your site and you seem to have some errors in your console: http://screencast.com/t/lGi3DN4PTm
Please check this also without any plugins active except of Visual Composer, clear cache and purge you files if you use CDN. Then disable any js/css minification (it may cause some issues).

Thank you.

Alin [tagDiv]
tagDiv Staff

Hi,

I also checked this on my side and did not found any issue with the block sort order. Please disable all your plugins except of Visual Composer, clear cache and purge your files if you use CDN, then check again if you still have this issue. I suspect it is a caching issue. Let me know how it goes!

Thanks!

Andrei L.
tagDiv Member

Hi

Please make sure you updated the theme according to our guide: https://forum.tagdiv.com/how-to-update-theme/ Also you can try to clear all caches, browser cache too, purge cdn files if you’re using, deactivate all plugins except Visual Composer and test again.

Let me know how it goes!

Thanks!

Andrei L.
tagDiv Member

Hi

Check the browser console while saving the settings to see if there are some errors. If you have some html/js raw on the page make sure that the code inside them it’s correct otherwise could create issues with Visual Composer and make that you’re using plugin’s version from Newsmag-tf > Plugins patch that you downloaded from themeforest. Also you can try to edit another page and see if the problem appears in that case too, clear all caches, deactivate the plugins except Visual Composer purge the cdn files and test again.

Let me know how it goes and if the problem persist please send an email at contact@tagdiv.com with your site’s login details and we will inspect this issue, also include a link to this topic.

Thanks!

Radu
tagDiv Staff

Hello,

I would recommend a dedicated server with at least 8 GB of ram. If the server is with SSD storage that will help with full page caching.

For cdn, I would recommend that you use cloudflare with it’s 20$/month plan https://www.cloudflare.com/plans . This cdn also caches other static content besides the images and it can be configured to cache the full pages in case of traffic spikes.

The wordpress install should be configured to cache the full pages with https://ro.wordpress.org/plugins/wp-super-cache/ – the SSD will help here. Or if you have at least ~16GB of ram you can use w3 total cache + memcached to cache the pages in RAM.

With a smaller budget, the theme should run on a VPS with 8 GB of ram + free cloudflare plan + caching plugin, please note that the theme only uses about 20% of the resources, the rest is used by WordPress itself, we benchmark it vs the default themes and I do performance audits periodically. My conclusion is that WordPress is a huge application 🙂 but if properly configured it can handle traffic well, mostly helped by full page caching.

news_lp_client
Participant
#0

Hi everybody,
I have a site with 800.000 posts and 2.5 millon of monthly printed pages with 20000 daily visitors.
It is the digital version of a real printed newspaper leader in a state and has a peak of audiencie in an hour interval during the morning.

I am coming to wordpress, and your “Newspaper Theme” because it is more flexible, basically in everything. My old site had less images and are smaller compared with this theme with a fast optimiced custom code.
Honestly i feel scared with the quantity of images that I have now in the index page with your “Newspaper Theme”. Practically all modules comes with 1 or more images.
I am planning to upload the new site in a few weeks, but i will take care with the amount of internet bandwidth than this theme will use in my hosting instance.

Do you Have some experience with Photon (Free Jetpack CDN).?
Is it good for a site with our traffic ?
And which resources do you suggest for the hosting required to run your theme with our traffic?

Thanks!.

Lucian
tagDiv Staff

Hi,

The Visual Composer plugin is required to customize your pages/posts with theme’s elements and the theme is deigned based on it so you couldn’t use other page builder. Latest version of the VC plugin haven’t been reported as affecting site’s performance anymore.

To improve your server response time you can also try to reduce the number of queries (fewer plugins, fewer blocks on page, reduce the elements which use ajax requests/pagination like mega menus/load more/infinite load), also consider using a cache plugin and to improve the loading speed look the mysql query cache: http://dev.mysql.com/doc/refman/5.1/en/query-cache.html We also use it on our demo. If you haven’t already, you can try a caching plugin, like WP Super Cache or cloudflare’s CDN.

You can also contact your host provider and let them know about this, they might have specific info on what is the cause of this in your case.

There are many factors which can be taken into consideration concerning server’s response time. You can use google’s improvement recommendation on this: https://developers.google.com/speed/docs/insights/Server

Wordpress.org has some optimization tips also: http://codex.wordpress.org/WordPress_Optimization

Hope this helps!

Thanks for the message!

  • This reply was modified 10 years by Lucian.
Bogdan B.
tagDiv Staff

Hello t1900,

I have checked your site and you seem to have some errors in the console: http://screencast.com/t/PdAhtu7EbQJ
Please disable all your plugins except of Visual Composer to make sure that it is not a plugin conflict, also clear cache and purge your files if you use CDN. Let me know if you still have this issue.

Thank you.

Bogdan B.
tagDiv Staff

Hi,

Please make sure you empty all caches and purge cdn files if using a cdn host then test again without any plugins active, besides theme’s plugins.
If the problem is still there please send us your admin details via email so we can have closer look at this
Address us at contact@tagdiv.com via email and also include a link tot this tread. We will get back back to your with an answer as soon as possible.

Thanks for the message!

Lucian
tagDiv Staff

Hi spalla,

Please send us your admin details via email so we can have closer look at this and also make sure you empty all caches and purge cdn files if using an cdn host then test again without any plugins active, besides theme’s plugins.

Address us at contact@tagdiv.com via email and also include a link tot this tread. We will get back back to your with an answer as soon as possible.

Thanks for the message!

Viewing 25 results - 5,601 through 5,625 (of 6,440 total)