- 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 need to have different ad blocks for different templates. Is this possible? For example when creating a post, I can select Template A and I have designated ad units that are set up to only appear on that template. I have four towns that I am covering and depending on the articles for the individual town we need to have ads only appear with those articles specifically the article top, article inline and article footer and I would also need a custom ad spot at the top as like a second header ad. I am thinking that it may be possible to set up a structure for a template and when creating a post I can select that template and it will pick up that code.
Try resaving your home page blocks; clear cache, etc.
HI
I wonder if we can show on frontpage (VC) custom post types in Big grid and blocks?
I tried to pickup categories in biggrid, but none of them shows up ..
Am I missing something?
Thank you
Hi,
I’ve created a custom category header using the TD api (so easy and great!), and I’ve come across a difficult problem for my skill level…
I don’t like showing the sibling categories when there are no children to show. I’d rather just show nothing. Hence, I wish I could comment out this block in get_sibling_categories:
// if no child categories get siblings
if (empty($categories_objects)) {
$categories_objects = get_categories(array(
'parent' => $this->current_category_obj->parent,
'hide_empty' => 0,
'number' => self::SIBLING_CATEGORY_LIMIT
));
}
But I’m not sure of the best way to override that function.
Should I:
— Overwrite the function in my plugin’s category template, since it’s a child of td_category_template?
— Try to overwrite td_category_template in a child theme?
— Edit the parent theme’s td_category_template and make the edit again on every update?
— Copy td_category_template and have my header be a child of that class instead?
— Something else?
Sorry if this is a stupid question, but if you have any ideas, please let me know!
Hey again.
Loving the theme.
I am messing around with the custom page builder now and noticed that I can’t exclude posts from blocks that have a certain tag. I am curious if there is a way to remove all “Expired” tagged posts from homepage custom page builder blocks.
Would I have to edit each block template or is there some sort of loop before the template?
Any help be great,
Thanks for all the support, <3
Hi, thanks very much.
I actually taking about border for the block thumbnails not the content, is there a easy code or way to create that?
Thanks!
How do i stop my block quotes from being all capital letters, i have tried setting it from the theme panel, it is like it is not updating it or something.
Like title says 🙂
1) On the sidebar I would like to add more things, like a search bar, in the circle on the screen : http://hpics.li/517b106 ; but in the editor I only find blocks from the theme, and for example there is no search block. How can I do that ?
2) In the same goal, for what is already written (like [td_block_social_counter custom_title="STAY CONNECTED" facebook="envato" twitter="envato" youtube="envato"] [td_block_ad_box spot_id="sidebar"] [td_block_3 limit="1" custom_title="POPULAR" td_filter_default_txt="All" ajax_pagination="next_prev" category_id="" sort="random_posts"]), where can I find those things “td_block_social_counter” or “td_block_3” to know which ones exist and what they do, if I want to use it ? (Sorry, I do not know how it is called…)
See this > http://caucusevents.com/sundayevents/
This is me making a text block w links to pages and placing it below the main menu. The links are bright red. I want those links ( Sunday Monday Tuesday Wednesday Thursday Friday Saturday ) to look JUST like the category sub menu located below the main menu ( 9/16 WE 9/17 TH 9/18 FR 9/19 SA 9/20 SU ALL NEWS) thats on the category archive on > http://caucusevents.com/wednesday/
Perhaps there is a way to apply the horizontal category menu css to the text block?
See this > http://caucusevents.com/red.jpg
See this > http://caucusevents.com/categories.jpg
-
This reply was modified 11 years by
efromdc.
Ahhhhh…I get it. If you have 99 posts, the big grid displays posts 1-5 of the category and the archive lists posts 6 – 99.
Got it. Understood 100%
OK so THIS is my goal:
– I want PAGE with big grid.
– I want block 11 below that lists posts
BUT BUT BUT
– I need a horizontal list of pages between them that looks JUST like the horizontal category archive menu on a category page.
In other words, I have category global settings as Style 1, Article display view of M11. But in between them, there is a horizontal menu of categories.
I want a section that would list my pages w/ the css / layout that matches your horizontal menu of categories because its PERFECT for smartphones / mobile phones / androids / iphones. I dont want my mobile users to have to open the “td-demo-header-menu” on their mobile because it appears on the left and its not always clear how to switch pages. I want them to simply click the page links. Thats it. Just as if it were that horizontal category menu…but its a list of pages.
Get it?
Is there a way for you to take the php that creates that horizontal category menu, change it so that it lists pages instead…and then tell me how to insert it into the space between my chosen layout: Big Grid on top, horizontal page menu in the middle, block 11 on the bottom?
Hi,
Try to use more specific target using the bellow css and also clear cache:
@media (max-width: 767px) {
.td-header-top-menu-full .td-header-sp-top-menu {
display: block !important;
}
}
Hope this helps!
Hi
Add this css in theme panel > custm css:
@media (max-width: 767px) {
.td-header-sp-top-menu {
display: block!important;
}
}
Here is the result: http://screencast.com/t/QNuCjZrTaC
Thanks!
Hi,
Like you can see in version 6 of the theme we changed/added more blocks and modules, so if you used block 9 in previous version and you want to have the same look, please set block 12 to display your articles – http://demo.tagdiv.com/newspaper/block-12/ Also you can set excerpt for module used for this block(module 11) – http://screencast.com/t/xQRsjE4Xu
If this is not what you mean please provide more details.
Thanks!
Hi
You can use the theme api: https://forum.tagdiv.com/api-blocks-introduction/
Unfortunately we didn’t tested the theme with any VC addons so i can’t provide an accurate answer, sorry!
Hi
The classes you used don’t match, you can try this css: http://screencast.com/t/kDj2y6BclORN
.td_block_11 .td-post-author-name, .td_block_11 .td-post-date{
display:none;
}
Thanks!
Hi,
1. Please try this custom css in Theme Panel > Custom Css to remove the border – http://screencast.com/t/3Q0qcODBbG4y
.td-header-style-8 .td-header-top-menu {
border-bottom: none;
}
Seems to be a z-index issue, please try this custom css until we fix this:
.td-header-style-8 .td-header-sp-logo {
z-index: 3;
}
.td-header-style-8 .td-header-top-menu-full {
z-index: 1;
}
2. The megamenu menu use javascript and depends by the server response time if you refer to the time loading articles when you hover the category.
3. You can change the color for breadcrumbs via custom css – http://screencast.com/t/2YHHgqBYtc37
.entry-crumbs, .entry-crumbs a {
color: red;
}
4. Big Grid 3 use these modules – http://screencast.com/t/XaI8ms73Gt so you can enable/disable category tag on those modules from Theme Panel > Block Settings > Category tag on modules/blocks – http://screencast.com/t/QLacmCc2edxu
5. The theme supports bbpress without any custom modifications and the can be accessed using siteurl/forums please check our demo – http://demo.tagdiv.com/newspaper/forums/ if you want to add content to your forum page, please create the forum page change the template to default and use shortcodes – http://screencast.com/t/l3qDftKrgH Here you can find the plugin’s documentation – https://codex.bbpress.org/
Thanks!
Hi,
Please make sure that you use the latest version of Visual Composer – http://screencast.com/t/MnvzH94gl and you have all elements enabled from Visual Composer settings – http://screencast.com/t/GA7GLkAAlQw You should be able to edit edit blocks that you use, just edit the page – http://screencast.com/t/HzA7T6xtq
If it doesn’t work, please disable all your plugins except of Visual Composer, clear cache and see if you can edit block settings. Let me know how it goes!
The theme doesn’t have an option to rotate banners and you will have to use a plugin for this. You can try a plugin like AdRotate or Simple Ads Manager that are used by many users and use the shortcode in Theme Panel > Ads spots, please check documentation – https://forum.tagdiv.com/article-ads/
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
In my visual composer there is only Block 1 to 10 and Big Slide. No Big Grid. Do I have to create a layout like Big Grid 3 in the Grid Elements in Newspaper 4? If so, how do I have to do that?
Hi,
I’m not sure how that happened as I don’t see it overwritten here: http://screencast.com/t/lyh4temBOW so please make sure you have its header background color set: http://screencast.com/t/LQBwhxWQ or use custom css to change it: http://screencast.com/t/UmUeghsbA
.td_block_social_counter .block-title > span {
background-color: #882d28;
}
Thanks
Hi,
1. You you use block on different rows you can add border to the column or row – http://screencast.com/t/TMaDHGGa – http://screencast.com/t/qPYBVNr9jQ
2. You can change the font color for articles titles and date generally you can try this custom css in Theme Panel > Custom Css – http://screencast.com/t/ITVHWWaJPR8I
.td-module-title > a {
color: #F12345 !important;
}
.td-module-meta-info .td-post-date {
color: #292D92;
}
If you want to do this on a specific block or module you have to target with specific class – http://screencast.com/t/uHjIsgq2jkgz
Thanks!
http://www.screencast.com/t/YxmRRo1geJ19
The td-post-category a:after styling makes it cover the whole block, which means that clicking anywhere in the block gives you the category link instead of the link to the specific post.
Hi,
Maybe the plugin that you use can be used only as a widget. Please check the Widgets section and see if you can add it from there – http://screencast.com/t/hS3v9Gjq8av You can create a custom sidebar, place the plugin widget there and use widgetised sidebar block to display it in a page http://screencast.com/t/lmQDsMeWX – http://screencast.com/t/qIAcuHZBJO9
Thanks!
Hi, I’ve uploaded the demo content for Newspaper Theme but am unable to edit any of the Blocks on the home page. They all show in visual composer but all I can do is rearrange them, can’t change titles, colors, or content. Please help!
Also is there a slider feature we can use in the Ad Block locations to have our own personal ads rotating in those locations? I found the code to create a responsive static image but would like a rotating image instead.
Thanks.
Hi,
Which is the first block that is used at the default demo?: http://themeforest.net/item/newspaper/full_screen_preview/5489609 I cannot find it. Or is it only available with the new theme update?
Best
Kathrin