- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- ApiPractical example – How to add a new Block and Module
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
Hi,
You have to add the comments template to page template by adding this line <?php comments_template('', true); ?> like this: http://screencast.com/t/mKLylOvI9kPQ
* page config: http://screencast.com/t/AiPrJS6KNL4o
* result: http://screencast.com/t/lA3J3UgaZdgI
Thanks
-
This reply was modified 11 years by
Lucian.
Hello, this was my previous question regarding website speed :
https://forum.tagdiv.com/topic/how-to-do-further-website-optimization/
I followed all of your instructions, my speed test was improved on mobile and desktop.
but yesterday when i changed template layout on my site, google speed test dropped again:
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.unbelievable-facts.com%2F&tab=mobile
On desktop it is good 91 out of 100
and there is only 1 render blocking css which you told me it can not be moved.
http://www.unbelievable-facts.com/…content/themes/Newsmag/style.css?ver=1.5
But on mobile there are some more scripts and css files showing on speed test, it wasn’t there before making changes in template:
Remove render-blocking JavaScript:
http://ajax.googleapis.com/…s/jquery/1.11.1/jquery.min.js?ver=1.11.1
http://www.unbelievable-facts.com/…alite/Socialite/socialite.min.js?ver=2.0
http://www.unbelievable-facts.com/…ugins/wpsocialite/wpsocialite.js?ver=1.0
http://www.unbelievable-facts.com/…ensions/socialite.stumbleupon.js?ver=1.0
http://www.unbelievable-facts.com/…jquery.form.min.js?ver=3.51.0-2014.06.20
http://www.unbelievable-facts.com/…ct-form-7/includes/js/scripts.js?ver=4.1
http://www.unbelievable-facts.com/…themes/Newsmag/js/td_site.min.js?ver=1.5
http://www.unbelievable-facts.com/…includes/js/comment-reply.min.js?ver=4.1
Optimize CSS Delivery of the following:
http://www.unbelievable-facts.com/…content/themes/Newsmag/style.css?ver=1.5
http://www.unbelievable-facts.com/…poser/assets/css/js_composer.css?ver=1.5
http://www.unbelievable-facts.com/…t-form-7/includes/css/styles.css?ver=1.5
http://fonts.googleapis.com/…,600italic,700italic,400,700,600?ver=1.5
http://www.unbelievable-facts.com/…p-includes/css/dashicons.min.css?ver=1.5
http://www.unbelievable-facts.com/…p-includes/css/admin-bar.min.css?ver=1.5
http://www.unbelievable-facts.com/…/wpsocialite/lib/wpsocialite.css?ver=1.5
http://www.unbelievable-facts.com/…p-subscribe/css/wp-subscribe.css?ver=4.1
and these scrips and css don’t seems to have a ‘file id’so i can not move them using speed booster plugin.
please guide me further!
Yeah actually I have more than 45 thousand visits due to the problems I caused your template installation my site been down more than two days and now I changed Meanwhile simple format and the fact that we loved your design’s why we bought it we will be happy for a speedy solution
my host service ipage
theh site >> http://www.ethiopiandj.com
Wordpress redirects to /wp-admin/install.php after install your theme
please help
Hello, thanks, by following all above instruction i am being able to speed up a bit :
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.unbelievable-facts.com%2F
from 70 to 76, i have few more question, should i consider “Minify CSS” & “Minify JavaScript”
which are not third party and hosted on my site?
Also you suggested me to update template,i did. I was using plugin to replace wp comment with fb comment:
https://wordpress.org/plugins/fatpanda-facebook-comments/, which is not working after template update.
Right now i have removed comment plugin, Now not even wordpress default comment system is working properly, check this : http://www.unbelievable-facts.com/2013/05/portrait-made-of-21-million-ink-dots.html
Comment box is not visible, it is visible to few posts!
Please help!
For minification I only recommend the following, and DONE MANUALLY:
I use http://cssminifier.com/
1) remove all the comments in wp-config.php manually
2) minify the style.css file
3) minify the functions.php file
4) if not running mod_pagespeed which does it for you, then you might also consider, manually opening your main post template and remove all double spaces and comments.
these are probably the 3 most loaded files on a WordPress site, and minifying them can really help.
Also putting in your direct URLs for base URL and home URL in the wp-config.php file really helps by saving queries. Similarly direct link to your theme folder also saves queries. But that is a bit advanced. See the WordPress Codex for more info on this topic of optimizing the wp-config.php file for hard-coded PATHS on your domain.
You can *try* minification of the main java file (.js), but this doesn’t always work very well.
Try:
http://javascript-minifier.com/
http://refresh-sf.com/
Or, open the two “main” .js files and just remove all the commenting, if you want a quick and dirty optimization.
-
This reply was modified 11 years by
simchris.
Hi,
News Mag 1.5, WP 4.1
When you create a page under another page ( Parent page ) its impossible to custom as you want the children page.
The design of the children page is always like an home page ( with the 3 templates of pages ).
Could you fix it ?
Thanks a lot
The template Newsmag , has the function of Unique Article on homepage ? How?
We bought one license for the target page. At the side of the target will be 50 sub domains. My question : Can we use the same license that we have to pay for each separately ? Or do you have another solution for us ?
For minification I only recommend the following, and DONE MANUALLY:
I use http://cssminifier.com/
1) remove all the comments in wp-config.php manually
2) minify the style.css file
3) minify the functions.php file
4) if not running mod_pagespeed which does it for you, then you might also consider, manually opening your main post template and remove all double spaces and comments.
these are probably the 3 most loaded files on a WordPress site, and minifying them can really help.
Also putting in your direct URLs for base URL and home URL in the wp-config.php file really helps by saving queries. Similarly direct link to your theme folder also saves queries. But that is a bit advanced. See the WordPress Codex for more info on this topic of optimizing the wp-config.php file for hard-coded PATHS on your domain.
-
This reply was modified 11 years by
simchris.
Hi,
Like Lucian said you have 3 types of pagination on blocks. The template that you use “Pagebuilder + Latest Articles + Pagination” have pagination for Latest Articles: http://screencast.com/t/8aZLdshL
Maybe you are referring to the module 13 for Latest Articles: http://screencast.com/t/mUKnlSR1BEzD
So if you want to display only latest articles you don’t have to add a row without an element. Just set the module for Latest Articles.
Hope this helps!
Hi,
Please change your page template and use a template without Articles List: http://screencast.com/t/Vv1KflI5uf
Also if you want to use Latest Articles, you can change the module to display: http://screencast.com/t/Op0tm8M272
Please also follow our documentation: https://forum.tagdiv.com/newspaper-documentation/
Hope this helps!
Wordpress docs are a great place to learn how WordPress works. That setting is not related to the theme, specifically:
http://codex.wordpress.org/Settings_Reading_Screen
Front page – Select in the drop-down box the actual Page that you want displayed as your front page. If you do not select a choice here, then effectively your blog will show your posts on both the blog’s front page and on the Posts page you specify. If you would like to create a static home page template file, do not name it home.php, otherwise you will encounter problems when you try to view the “blog”/”posts” section of your site. To get around this, just name it anything but home.php, for example, myhome.php
Posts page – Select in the drop-down box the name of the Page that will now contain your Posts. If you do not select a Page here, your Posts will only be accessible via other navigation features such as category, calendar, or archive links. Even if the selected Page is Password protected, visitors will NOT be prompted for a password when viewing the Posts Page. Also, any Template assigned the Page will be ignored and the theme’s index.php (or home.php if it exists) will control the display of the posts.
Hi, thanks for your reply.
Regarding question number 3, I’ve noticed that if I use in the template the option pagebuilder+latest articles+pagination, I can have block 13 with pagination at the end. The problem is that it’s required to add an element in the page builder. If I add a row in the pagebuilder and I don’t add any element, some white pixels will be left on the top of the page. Any solution to this?
Hello,
I have installed and set up my newspaper template. I made my pages the way i plan to, but on every page, there is some strange “LATEST ARTICLES””content that are added by default on the bottom of all the pages, before the footer.
I am struggling 4-th day with this problem
Please help me to remove it from the pages
this is how it looks like:
Just scroll down untill you see the Lastest articles in english , it takes mote content than my actual page!
Hi,
Please use this custom css: http://screencast.com/t/x8ZESwZ7
.page .template6-header {
top: 700px;
}
.page .td-full-screen-header-image-wrap, .page.single_template_6 .td-header-wrap {
height: 700px !important;
}
Thanks
Hello, I’ve some questions about homepage layout:
1. I’m trying to use “posts grid” from visual composer, in a full width column, but it doesn’t matter if I set 1,2,3 or 6 columns in the “posts grid” template: posts are shown always in three columns. Why?
2. Is there any way to hide a “row” and all it’s elements when user has a mobile device?
3. If I use ONLY block 13 + sidebar in my homepage, could this be bad for seo? I don’t see any option to have a pagenav at the end of the section, but only the “load more” button. Not sure if this could be a bad thing, that’s why I’m asking.
Hello! I am using the “Pagebuilder + latest articles + pagination” template for the main page of my site, but I saw conflict with plugin All In One Seo Pack 2.2.5. https://wordpress.org/support/topic/critical-bug-all-in-one-seo-pack-225-226 It very bad for site indexation, and I feelin – the problem in pagination function, how can I fix that? Thanks for the answers.
Hi,
Can you please tell me how to reduce the height of the homepage post block (td_homepage_full). I tried to add this code (picked up in forum):
.td-big-slide-background, body.single_template_4 #td-full-screen-header-image, .backstretch {
height: 700px !important;
}
The code only seems to reduce the image – not the homepage post block height.
Thank you.
Hi,
When you sue the homepage with background and with or without articles list page template an big slider (not revolution slider) is added to the page which uses and display’s posts from the Featured category so if you don’t have any posts added to the featured category then the slider will not contain any posts and looks like in your case(empty): http://screencast.com/t/hCVHiObaO
I haven’t found you blog page. Please try this template settings from theme panel and make sure that you have an create a sidebar if you want to use one or set it to not use any: http://screencast.com/t/3ANJbFX4GhNU
Thanks
Hi,
Unfortunately there is no option to do this, modules can be used to display articles on category page, latest articles… Also any block was not designed using module 7. Sorry for inconvenience!
If you use a page template with articles list you can use module 7 to display these: http://screencast.com/t/rSjqzGmCu3
Thanks!
My wordpress is 4.1 and the VC is 4.3.5
I use VC to create a BigSlide on the homepage, and it is not aligned as demo, it is a messy stuff. However, if I use Page template (homepage – bg – no article list), it works ! But I wanna use VC because it is much more customizable.
How to fix this ?
How do I get the revolution slider to work on my homepage with background, no articles template?
Everytime I go to the bottom the only option in the revolution slider options is default and not the homepage slider I created!
Please help!
bullyblockerz.org
5. You can add a block to an individual row and set margin/border to the column: http://screencast.com/t/AlOEmZ9psE
For widgets you have to use custom css.
6. If you refer to the Latest Articles sidebar will be the same on all pages. The Theme doesn’t have an option for that area, it’s only possible with custom modifications on the code but unfortunately it’s not an easy task.
7. The theme was initially designed with an fixed grid layout and changing it would not be easy as it needs changing the width value for all elements on pages and for this you would need custom work, so the full width will hide the sidebar automatically.
8. You have to modify the template (404.php), you can check the other templates (post, pages) to see how the sidebar is defined.
9. Please edit type.less to change font for quotes in Panel: http://screencast.com/t/t5MpFmFpt
In backend the quotes have color of the Theme, how you can see that in the less file. Also you can change that in what color you want.
10. You can change the Latest posts number from Homepage Loop Filter:
http://screencast.com/t/c94aDRWFp6h
http://screencast.com/t/XDP3mHWtyZ
Or leave that field empty and change the number from Settings > Reading: http://screencast.com/t/dcAgP2WPWN
11. Google adsense should not load, do you refer to something else? please provide more details.
Thanks!
Hi Lucian. I followed your instructions and the problem continues. The page is hosted on an intranet and you could not see it, is that the fact that intranet is causing this problem? I’m using internet explorer 11
The menu is below the BigSlider and this is deconfigured.

maybe the menu and the Bigslider are called external files that are blocked by the firewall? which could be?
I say this because when I see the demo template, on the same PC with the same explorer, these items look good.
http://themeforest.net/item/newspaper/full_screen_preview/5489609

thanks
-
This reply was modified 11 years by
jairoo.