- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
I’ve been reviewing the demos which come with the theme, and I can’t figure out how some of the blocks of info look the way they do. Here are some examples:
Video Demo – http://demo.tagdiv.com/newspaper_video/
Behind the big grid 6 it has a grey background, but I can’t figure out how to do the same on mine.
Medicine Demo – http://demo.tagdiv.com/newspaper_medicine/
The block titles have a red background. Where is this set?
What Demo – http://demo.tagdiv.com/newspaper_what/
The big grid 4 doesn’t have any gap between the grid images and the underside of the header menu.
How is this removed?
There seems to be a whole lot built into these demos, but I cannot see any way to customise them in the way that these demos exhibit.
Hi,
1. Some word like “intérêt” become “intérê t”. How can I solve this editor issue?
2. Logo and block thumbnails have a poor quality compared to the files uploaded. How can I improve their quality?
Website: http://luxury-today.fr
Thank you
Hi,
i have two questions:
I would love to display blocks in that new “are” design (inspired by Pinterest. I understand we would need to develop it, but could you please give me some pointers on how to do it?
At the very minimum I would like the title of the post to be on a solid strip below the image without any overlays on the image. (maybe there is something I could do in “grid” block about it?)
Ideally I would like cards to be of different sizes (pretty much like you have in the block 8) just with titles on a solid strip under the photo and with some margins between the posts.
Question about image sizes:
we would like to use “ad” options to put our own images of sponsored projects. We would like and mix them in amongst other blocks as much as we can. What are the image sizes wo that they fit with the overall design. E.g. how long is ⅔ of a screen (if i select that option in columns on the main page) or how tall is one section in block 21? – so if i place our image to the side of that block they visually line up?
Thank you!
hello, i have block 4 in many pages. is it possible to remove the date only from the home page?
Hey Guys,
Im having an issue with the new mobile plugin theme, for the newspaper 7 update, i have configured all the options in the theme panel but the homepage of my website specifically the first block is showing old stories and also ads that i serve from Google dfp are not showing could i have miss configured something.
Hi
Sometimes we don’t have any article in specific category, so there is block with only category name. Is it possible to hide categories or blocks if there are no articles in it?
Thank you
Hello thanks to answer my questions. I try as you indicate me and the module 15 show below the page builder content as the template layout was made. It is possible that this module show up on top? as main post feeder?
The solution you gave me to use a text box with photo made the idea I want with big header and below the photo but must be made manually and we would like a module that feed automatically as regular module or block.
If there isn’t any solutions it is possible to modify the block 13 on visual composer to move the head on top of the photo instead of below?
Best regards – Fabien
When I conducted a google pagespeed test, I got the below result. Help me fix this.
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 2 blocking script resources and 7 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
http://principiaboxed.com/…s,qver=1.12.3.pagespeed.jm.Mce7qJ7uQ5.js
http://principiaboxed.com/…js,qver=1.4.0.pagespeed.jm.S4TTOO46U-.js
Optimize CSS Delivery of the following:
http://principiaboxed.com/…s,qver=4.6.1.pagespeed.cf.B7_8y6haOq.css
http://fonts.googleapis.com/…%2C600italic%2C400%2C600%2C700&ver=4.5.2
http://fonts.googleapis.com/…%2C900%2C500italic%2C400%2C300&ver=4.5.2
http://fonts.googleapis.com/…0%2C700%7CAmarante%3A400%2C700&ver=4.5.2
http://principiaboxed.com/…,qver=4.11.2.pagespeed.cf.DDuiy5Iwfj.css
http://principiaboxed.com/…css,qver=7.0.pagespeed.cf.OXJRwv_GHJ.css
http://principiaboxed.com/…css,qver=7.0.pagespeed.cf.4wPCTK4rGZ.css
Hi Bogdon,
Thanks for getting me pointed in the right direction. I followed all of the steps and deleted the previous versions, then updated the theme, visual composer and social counter plugin.
A couple things:
– The social counter has been deleted from the sidebar. I also had “Most Popular” and “Categories” in sidebar and they are gone as well. How can I get those back?
– The text color in main nav bar went from white to black. I went into theme panel (Theme Color –> Main Menu) to edit and it won’t let me; it gives me an error message and pop up that says “Background Request Blocked – A background request to WordPress was just blocked.” It gives me the option to “Whitelist this action” or “Dismiss.” But, it won’t let me click on either. I click outside the dialogue box and the loading square just spins and spins, and I have to reload the page. This happens when I try and do almost anything in the theme panel. How can I fix so I can make these (and other) changes? What do I need to do to whitelist?
– My original issue with Visual Composer not being able to edit via pencil icon is not fixed either.
Please let me know what I can do to fix these issues.
Thank you,
Paul
I would like to add a top border to each post exert in block 11 (color #ff823a)
see here: http://screencast.com/t/4DcLGxQva
Thank you!
I tried this code but didn’t work:
.td_block_11 {
border-color: #ff823a;
.td_block_11 {
border:padding-top: 14px;
}
Hi,
Please check the row settings and make sure you don’t stretch the content as the tagdiv blocks were not designed in this regard – http://screencast.com/t/CqBYD9FN6I
Also try to create another page and see if you still have this issue.
If the issue persist please send an email at contact@tagdiv.com and provide wp-admin access so we can take a closer look and also paste a link to this topic so we can know who you are and what your issue is. We will provide an answer as soon as possible, probably Tuesday during the support hours because we don’t work on Monday 20 June.
Thanks for understanding!
Background color on main menu: (White) Text: (black) hover: (orange) (if I change main menu background color in theme panel to background color #eeeeee the text stays black, orange hover disappears and white blocks highlight menu links. I Would like main menu #eeeeee and links and hover to stay the same, no blocks on hover.
Mobile : share button only on mobile (green phone) want to remove.
Posts on home page: I would like white box for post exerts on home page. Example: http://www.radiolab.org/
I know this is a tall order but would really appreciate your help!
Thank you so much.
[data removed by admin]
Hi,
You will need to edit the post template that you use and using do_shortcode function you can place it above the share buttons – http://screencast.com/t/8zXispSPY Of course paste your code in the custom ad spot that you want to use from Theme Panel > ADS – http://screencast.com/t/7piXBet1
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Thanks!
Alin V.
-
This reply was modified 10 years by
Alin [tagDiv].
Hi
The theme is written according with WordPress standards and it’s optimized for best performances. However there are many factors which can influence site’s load time. In terms of page-speed we made a guide which covers most important aspects google notifies you about, you can find it here: https://forum.tagdiv.com/how-to-make-the-site-faster/
I’ve checked your site with google page-speed and from its reports i’ve noticed that there are a few images which slow the load time. Try to optimize the images following google’s docs: https://developers.google.com/speed/docs/insights/OptimizeImages Also you can use leverage browser cache to reduce the size of the css/js resources served by the server: https://gtmetrix.com/leverage-browser-caching.html
To move render-blocking resources in page’s footer you can use Speed Booster plugin. We covered in our documentation at point 5 how this plugin can be used.
Other useful information about page speed can be found in these topics: https://forum.tagdiv.com/topic/help-moving-style-css-and-fonts-googleapis-com-to-footer/ – https://forum.tagdiv.com/topic/speed-booster-questions/ – https://forum.tagdiv.com/topic/mobile-view-problem-3/
Hope this helps.
Thanks!
Hello appurohi,
Q1 -> please try the code below and place it in Theme panel.
.sf-menu ul .td-menu-item > a:hover, .sf-menu ul .sfHover > a, .sf-menu ul .current-menu-ancestor > a, .sf-menu ul .current-category-ancestor > a, .sf-menu ul .current-menu-item > a, .sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after, .td_block_mega_menu .td-next-prev-wrap a:hover, .td-mega-span .td-post-category:hover, .td-header-wrap .black-menu .sf-menu > li > a:hover, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .sfHover > a, .header-search-wrap .td-drop-down-search:after, .header-search-wrap .td-drop-down-search .btn:hover, .td-header-wrap .black-menu .sf-menu > .current-menu-item > a, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .current-category-ancestor > a {
background-color: green;
}
Q2 -> I do not exactly understand what you mean. Provide some screnshots to explain what you want to achieve.
Q3 -> Try the code below.
.sf-menu > li > a {
padding: 0 30px;
}
Thanks.
Hello marcar,
Please notice that our theme has been designed to have two cases in this regard -> firstly, please notice that if you want to create a playlist, you will have to add each video ID in Playlist Youtube and secondly, if you want to import a new Youtube playlist from the Youtube, you will have to use the embed method from the Youtube or you can simply add the link of the Youtube Playlist in Youtube Player and you will bring on your site the Youtube Playlist, like this -> http://screencast.com/t/bQKMIzO8k -> http://screencast.com/t/mNttCVRmCF
For your second request, unfortunately, our theme does not have such an option for filtering the posts from the block by Videos, sorry! As a hint, please notice that you can try to create a category with just videos and then you can filter the block by this category. If you do not want this and if you want to develop the filtering system of blocks and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
Hi
You will need a custom function which get post id as parameter in order to display tags on blocks or in mega menu. Add this code: http://pastebin.com/9tum1brx in td_module.php: http://screencast.com/t/8WEQxscsu then call the function in td_module_mega_menu.php file like here: http://screencast.com/t/2yerRhrJC
Also you have to use this css in theme panel > custom code > custom css: http://screencast.com/t/EQSYQSxQUih
.tags-mega-menu ul {
display: block;
margin-left: 18px;
}
.tags-mega-menu .td-tags li {
width: auto!important;
}
Hope this helps.
Thanks!
Hi Guys,
I have a couple of video related questions.
1. With the YouTube video playlist block is it possible to just load the contents of one YT video playlist from one source instead of adding video ID’s separately. I’ve searched documentation and forums and cannot find a solution.
2. Is it possible to filter a page block to just show video posts, i.e. posts flagged as Video instead of Standard.
Cheers,
Mick
Hi,
This is how the Visual Composer element works, we don’t alter the Visual Composer code or functionality, the theme was designed to support the plugin and we register our own blocks. On our blocks we use add_image size function and the thumbs are used on modules and blocks, you can read more about this – https://forum.tagdiv.com/thumbnails-vs-featured-image-size/ – https://forum.tagdiv.com/featured-image/ so you can use tagdiv blocks if you want.
So for your Visual Composer element you could create a custom grid and set the post image size – http://screencast.com/t/FInktJtG14 Here you can find more details about the Grid Builder – https://wpbakery.atlassian.net/wiki/display/VC/Grid+Builder – https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=3604488
Thanks!
Hi,
Unfortunately the author box element does not use the description only when you click on the author will the theme display the information.
As for the alphabetical order, you can filter the authors by ID in the block settings. You can use the exclude and include sections from here: http://screencast.com/t/i5BsAswEES You can use 2 author boxes and filter one part of your authors in the first and the second part in the other one. You will need the author id’s for this. You can get the id’s like so: http://screencast.com/t/kmUugYM6S so for example if you have 20 authors you would add the first 10 id;s in the first auhor box and the other 10 in the second box.
Thank you!
Bogdan B.
Hi,
Please install and activate the Social Counter plugin provided with the theme – http://screencast.com/t/DvsKFDenO4 and the Social Counter block will appear on your page. If you don’t want to use it, just edit your homepage and remove it – http://screencast.com/t/I9A2ZBmU
If you want to use it please check this guide and configure it – https://forum.tagdiv.com/tagdiv-social-counter-tutorial-2/
I also checked your post and the article top ad appears properly – http://screencast.com/t/YhcfMNDT
Thanks!
I wondered if someone could recommend a wordpress web designer very experienced with tagdiv templates/ I really want to design a custom look, but our designer who never worked with this theme struggles to come up with something original that would still work with this theme. She is clinging to the blocks provided nit able to envisage any custom changes … PLEASE help!:((
Hello Caum,
At the moment, unfortunately, this is not possible using our child theme because you will have to register your block in td_page_builder_widgets.php as the widget with add_action and this type of file do not support to be overwritten in the child theme, sorry! At the moment, the only way for it is using this in the main theme.
We certainly plan to extend the theme flexibility in the future updates. I’ve added your suggestion on our list and when the time comes our developers will consider it. This may take some time because we have a long implementation list and we take them one by one.
Thanks for your suggestion, have a nice day.
Hi,
The block settings can be changed by clicking the pencil icon as presented in this guide: https://forum.tagdiv.com/block-settings-tutorial/
Your problem originates from the latest version of wordpress. You use an old version of the theme and an old version of visual composer. You have visual composer 4.6.2 but for the latest version of WP you need version 4.11.2 as there were a few compatibility issues that needed fixing. Please updfate your theme to the latest version by following this guide: https://forum.tagdiv.com/how-to-update-the-theme-2/ and then update your plugin by following this guide: https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Please also make sure you update the social counter plugin as well after you update.
Thank you!
Hello saubhagya,
Thanks for getting in touch with us and thanks for the interest in using our themes.
We get often this question regarding the differences between our themes. I can tell you that the both themes share the same core so their functionality and performances are similar. The main differences are in designs/appearances and the content area width which slightly differs from one theme to another. Newspaper’s grid width is 1068px while Newsmag’s width is 1021px and the Newsmag’s theme grid has been designed to support the borders you notice between sections of a page: http://screencast.com/t/pNkgzN1Kn8Y5
Other differences also, are appear regarding features, some of the blocks are present on one and missing on the other, for example you could check the Features menu items from each theme live demo and see blocks, modules, post templates… are present in each theme and the design differences – http://screencast.com/t/p87JJpieJd Here you can find our live demos: http://demo.tagdiv.com/newsmag/ – http://demo.tagdiv.com/newspaper/
Also, you can check the documentation for each theme to make an idea about panel settings and other features that may not be presented on the live demo (for example header templates) – https://forum.tagdiv.com/wordpress-information/ -https://forum.tagdiv.com/newsmag-newsmag-documentation/
As a conclusion, if you have some needed skills using the WP theme, please notice that you will have to customize your theme after your desired standards.
Hope this helps!
Thanks for your understanding!