Home User profile
tagDiv Member
Founder and Chief Editor at InfoPhilic, a designer, developer and hardcore fan of WEB.
Amit
tagDiv Member

Hey you using Nginx server. And you using apache tips
Use expiry header for Nginx

This may help you
https://www.nginx.com/blog/9-tips-for-improving-wordpress-performance-with-nginx/

Amit
tagDiv Member

Kindly purge all the site cache and try.

Amit
tagDiv Member

You can find list of tested plugins under the Newspaper >> Plugins on the LHS Navigation

Refer:

Amit
tagDiv Member

You can find Speedbooster plugin’s status here:

Amit
tagDiv Member

You have to use file-ID to move css or js

For JS files – $this->move_js_to_footer(‘FILE-ID’);
For CSS files –$this->move_style_to_footer_queue(‘FILE-ID’);

To get File-ID add following code on theme’s functions.php file

function td_inspect_scripts() { global $wp_scripts, $wp_styles; echo 'registered scripts<br>'; foreach ($wp_scripts->queue as $handle) { echo $handle . ' | ' . $wp_scripts->registered[$handle]->src . '<br>'; } echo 'registered styles<br>'; foreach ($wp_styles->queue as $handle) { echo $handle . ' | ' . $wp_styles->registered[$handle]->src . '<br>'; } } add_action( 'wp_print_scripts', 'td_inspect_scripts' );

Refer: 5.2 To get the list of registered css and js https://forum.tagdiv.com/how-to-make-the-site-faster/

Amit
tagDiv Member

It’s not compulsory but using CDN will definitely speed up your site.

Amit
tagDiv Member

Use following code instead:

# BEGIN Caching
<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</filesMatch>
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=216000, public, must-revalidate"
</filesMatch>
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"
</filesMatch>
</ifModule>
# END Caching

Amit
tagDiv Member

Hello @lavesh

Edit your homepage using TD Composer then choose block where you want to show latest articles and now change Sort order to Latest on Filter tab. And SAVE the changes. 🙂

Refer:

Amit
tagDiv Member

Hello @BigHead_s

If you are using CloudFlare, make sure you have set Browser Cache Expiration to minimum 8 days.

Amit
tagDiv Member

Thanks @bogdan-b

I have fixed it by modifying the CPT code.

Amit
tagDiv Member

@simion
I am not using Visual Composer on posts.
Disabling the ajax post views from theme panel fixed the issue.

Amit
tagDiv Member

Thanks @bogdan-b

I have successfully removed ads for CPT.
Now the problem I am facing is unable to get archive page for CPT
Suppose CPT for “book” with taxonomy “Genre”.
I am able to see archive page for domain.com/genre/genre1 but unable to see archive for book at domain.com/book/ it shows 404 error
I want all books can be seen at domain.com/book/ or domain.com/books/

Amit
tagDiv Member

@tekniksmart
I am glad I’ve been able to help.

Amit
tagDiv Member

@mrmad

Yes.
path must be child-theme/mobile/style.css

Amit
tagDiv Member

Hello @mrmad

Here is new link: https://goo.gl/Uf8UHl

Amit
tagDiv Member

The CSS I have provided is for version 8.0 mobile theme.
Its copy of original CSS (comes with the package) with some minor changes.
Using that CSS will definitely solve this >> https://i.imgur.com/mKuB407.jpg problem

Amit
tagDiv Member
Amit
tagDiv Member

Hello @kley

To use both, replace style.css in newspaper/mobile/style.css with the following. Now you can use both the plugins and there will be no flash.

https://www.dropbox.com/s/pa8ubmt04ctqyag/style.css?dl=0

Thank you for your understanding.

Amit
tagDiv Member
Amit
tagDiv Member

@sojasuccess

Install td mobile theme and deactivate varnish.

Amit
tagDiv Member

If you can provide site URL.

Amit
tagDiv Member

Hello @Sojasucess

You can try purging all the cache after activating mobile theme plugin.

Amit
tagDiv Member

Hello @kley,

It only comes when you use both mobile theme and speed booster plugin together.
You can either deactivate mobile theme or speed booster.

Thank you for your understanding.

Amit
tagDiv Member

To move review box you need to edit loop-single.php file for default template.

refer:
https://image.prntscr.com/image/c2176978eed3410aac723937752619c8.png

Viewing 25 posts - 351 through 375 (of 511 total)