- NewsmagPage templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage – How to build and set it
- NewsmagtagDiv Composer Tutorial
- NewsmagCustom Post Type Support
- NewsmagNewsmag documentation
- NewsmagHow to use the Visual Composer plugin
- NewsmagHeader styles
- NewsmagSmart sidebar
- NewsmagCategory grid styles
- NewsmagCategory top post styles
- NewsmagHow category settings work
- NewsmagFeatured images
Hi
I am trying to create a template for my search&filter plugin to use for displaying results. I duplicated the search.php template and it works with the plugin. But I have three different types of search so i need three different templates with three different sidebars. So I need to be able to control from the them panel.
My problem is I am not able to get it to work. the display view and the sidebar do not change when i change in the theme panel only thin that works is the sidebar position. I will appreciate your help inb sorting this out.
I added this example code to the /includes/wp_booster/wp-admin/panel/views/td_panel_template_settings.php
<!-- Resource Search page -->
<?php echo td_panel_generator::box_start('Resource Search template', false); ?>
<div class="td-box-description td-box-full">
<p>Select the layout for the search page.</p>
- Check a " target="_blank">sample search page from your site.
- This template is located in search.php file.
</div>
<!-- DISPLAY VIEW -->
<div class="td-box-row">
<div class="td-box-description">
<span class="td-box-title">ARTICLE DISPLAY VIEW</span>
<p>Select a module type, this is how your article list will be displayed</p>
</div>
<div class="td-box-control-full td-panel-module">
<?php
echo td_panel_generator::visual_select_o(array(
'ds' => 'td_option',
'option_id' => 'tds_search_page_layout',
'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
));
?>
</div>
</div>
<!-- Custom Sidebar + position -->
<div class="td-box-row">
<div class="td-box-description">
<span class="td-box-title">CUSTOM SIDEBAR + POSITION</span>
<p>Sidebar position and custom sidebars</p>
</div>
<div class="td-box-control-full td-panel-sidebar-pos">
<div class="td-display-inline-block">
<?php
echo td_panel_generator::visual_select_o(array(
'ds' => 'td_option',
'option_id' => 'tds_resource_sidebar_pos',
'values' => array(
array('text' => '', 'title' => '', 'val' => 'sidebar_left', 'img' => get_template_directory_uri() . '/images/panel/sidebar/sidebar-left.png'),
array('text' => '', 'title' => '', 'val' => 'no_sidebar', 'img' => get_template_directory_uri() . '/images/panel/sidebar/sidebar-full.png'),
array('text' => '', 'title' => '', 'val' => '', 'img' => get_template_directory_uri() . '/images/panel/sidebar/sidebar-right.png')
)
));
?>
<div class="td-panel-control-comment td-text-align-right">Select sidebar position</div>
</div>
<div class="td-display-inline-block td_sidebars_pulldown_align">
<?php
echo td_panel_generator::sidebar_pulldown(array(
'ds' => 'td_option',
'option_id' => 'tds_resource_sidebar'
));
?>
<div class="td-panel-control-comment td-text-align-right">Create or select an existing sidebar</div>
</div>
</div>
</div>
<?php echo td_panel_generator::box_end();?>
You have the free ‘bundled’ version which does not need ‘activation’ with WP Bakery. You do not have a paid license with WP Bakery, so it cannot be ‘activated’ for WP support (it can be activated on the plugin page to be used with the included bundled templates/settings compatible with theme; you don’t get ‘bonus extras’ offered by paid users of the WP Bakery plugin!) — see the help info here in the forum and the links provided in prior reply
( I don’t work here; just long time user )
-
This reply was modified 8 years by
simchris.
Hi
I need to extend theme option and also need to add few option for specific page template type, is thr any documentation you have so that i can add to our need?
thanks
Search page query (eg http://www.ypaithros.gr/?s=agrotes)
AND ypn_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘tribe_venue’, ‘tribe_events’, ‘tribe-ea-record’)
AND (ypn_posts.post_status = ‘publish’ OR ypn_posts.post_status = ‘tribe-ea-success’ OR ypn_posts.post_status = ‘tribe-ea-failed’ OR ypn_posts.post_status = ‘tribe-ea-schedule’ OR ypn_posts.post_status = ‘tribe-ea-pending’ OR ypn_posts.post_status = ‘tribe-ea-draft’ OR ypn_posts.post_status = ‘private’)
2) td-drop-down-search – Newspaper theme (header search with suggestion)
AND (ypn_posts.post_password = ”)
AND ypn_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘vc4_templates’, ‘tribe_venue’, ‘tribe_events’, ‘tribe-ea-record’)
AND ((ypn_posts.post_status = ‘publish’))
Why search queries is different?
Check to see if your hosting provider supports ‘mod_pagespeed’ as this can compress the HTML by removing line breaks, comments and extra spaces. Simplest way to do that, if you’re able.
Better to compress the javascript, CSS, first.
You can also manually compress the main theme template you’re using for the post template, as another option.
Hi guys,
I just installed the theme and it’s beautiful. However, I can’t figure out how to duplicate the homepage layout of the Travel demo — I imported the template (without the content) and also watched all of the instructional videos, but the process seems to have changed since updating to the divTag Composer.
Thanks in advance for your help!
Hi tom2020,
For more information about page templates, please check here -> https://forum.tagdiv.com/page-templates-2/
Thanks.
Yes, thanks. However, I don’t think I worded my question well…I have already successfully installed the Revolution Slider in the style of the ‘baby-blog’ demo.
I also know how to build a brand-new homepage and insert it that way. I guess what I’m asking is if there is anyway to drop the slider into the current homepage WITHOUT having to build a new homepage with tagDiv composer?
The templated homepage does not appear on the list of pages, so I’m unsure how to drop in the slider element to that page, and I would really prefer not to build a new homepage with tagDiv if at all possible. If that’s the only way to go though, will go that route.
Thanks again!
Emily
Hello.
How to add this feature as seen on demo.
I’m using tech template and want to apply on my website
https://s1.postimg.org/3ohv3ovdzj/screenshot_438.png
Thank you.
Found what it was within about 30 seconds of posting this, always the case. I just needed to change the template setting on the page! #THISGUYSANDIDIOT
Hi,
Post pages cannot be edited with the tagDiv composer, so you cannot place the Revolution slider on posts. You can create galleries for example, and slide images
– https://forum.tagdiv.com/gallery-2/
These are all the available post templates
– https://forum.tagdiv.com/post-templates-2/
If you are having problems installing plugins, please check the theme system status and make modifications to the parameters mentioned in this guide if necessary
– https://forum.tagdiv.com/system-status-parameters-guide/
You could ask your hosting provider to make them for you, as they might have a recommended method in this matter. Insufficient resources are most likely the cause for this to happen.
Thanks
Hi,
At the moment category pages cannot be edited with the composer, like normal pages. All the settings have to be set in the theme panel
– https://forum.tagdiv.com/how-category-settings-work/
You can choose a category template, top posts grid style, module used to display the posts etc. All these in the theme panel. Placing a block in te category page could only be done by manually editing the category files. These are some similar topics
– https://forum.tagdiv.com/topic/category-top-posts-style-featured-posts/
– https://forum.tagdiv.com/topic/trending-now-on-category/
Thanks
Hello!
If I have Tag Div Builder and Page Builder + Latest Articles + Pagination
I get this: Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!
The same Error is with Page Builder + Page Title.
If I have Default template is all fine. So, something is not OK with Tag Div Builder.
Thanks.
Best regards.
Hi,
I have made a few tests with this blank page template and the tagDiv composer
– https://www.screencast.com/t/khqnF3zLYG
There is no problem from what I can tell, seems to work properly. The initial page is blank, there is no issue adding elements with the tagDiv composer. Set it up as explained by Alin and it should work for you as well.
Thanks
Hello,
Please add this code to your theme panel-> custom css box:
.page-template-default .wpb_text_column .w2dc-listings-block :last-child{
margin-bottom:0!important
}
Thanks.
Dear Support
How can I change the template that feeds all the posts from a link on the mega menu.
I have changed the menu name Fashion to biz and there is a mega menu that lists a category called Music Industry.
How can I change the template to the homepage video?
http://www.aam247.com/
I would appreciate your help.
Hello,
Do your template support a 1/3 + 1/3 + 1/3 Category Mega menu?
I want to create a Mega Menu that will house all my categories.
Additionally,
Can i create a Page that will house all my categories?
Is this possible?
Regards,
Kasnet
Hello,
the latest articles on pages (if that is what you mean) can be altered from the post loop settings as mentioned here: https://forum.tagdiv.com/page-templates-2/
Thank you!
Hello morebusiness,
Sorry but the theme does not allow you to make an infinite scroll for Woocommerce page products, sorry! Only available type pagination for this kind of page is numeric pagination, like this -> https://www.screencast.com/t/SKAc517MtnVN
The mega menu has not been designed to display the shop pages but only our posts and default pages.
If you want to hide the ads for the Woocommerce page you should use a bit of CSS code for this and target your page desired by page ID.
Notice that our theme has the own sign in/login functionality and does not use the Woocoemmerce’s functionality in this case. The Woocommerce log in should be applied only for Woocommerce elements. You should check the plugin’s documentation here -> https://docs.woocommerce.com/?s=login&post_type=documentation&search_in=3
If you do not like the design of it you should create your own style using a bit of CSS code but notice that it have to do by yourself because we cannot provide custom work at the moment, sorry!
Check the plugin’s settings to enable or disable all of the specific plugin’s elements, sorry!
Sorry but that question regarding on Google Translate is not theme related! If you want to know how this can be done, please google it. As a hint, you can take a closer look at this tutorial -> http://nationbuilder.com/google_translate_widget
Sorry but please notice that the standard position of social sharing networks cannot be changed very easy because the theme layout will be damaged, sorry!
.td-default-sharing .td-social-sharing-buttons {
border: 1px solid #ebebeb;
border-radius: 20px;
}
The result is here -> https://www.screencast.com/t/R5eWwNSa
I guess that you are using the Footer template style 1 which comes by default with these widgets. If you want to change the content of it notice that you can do this only by the code. So, if you want to create your own Footer template style, I recommend you to use the Footer template style 5 according to our documentation here -> https://forum.tagdiv.com/footer-templates/
Notice that the Editor Picks is just a simple block style 7 sorted by some default parameters as you can see here -> https://www.screencast.com/t/me51SX6Vj6h
Hope this helps!
Thanks for your understanding!
Do not include an image in the article body. Instead, use the default template for your site.
This will solve your issue.
I am using FIA and not facing any issue. You may check my FIA on my Facebook page: Tech Explorist
Refer:

Hi,
The header ad is displayed on all the website. If you want to remove the header ad on specific pages, you could create a condition in the header template code, where the ad is called
– https://developer.wordpress.org/reference/functions/is_page/
An example here – https://forum.tagdiv.com/topic/page-without-top-ad/
Thanks
Hi,
The socials displayed in the footer will be the ones you enter in Theme panel->Social Networks
– https://www.screencast.com/t/uPvvykgGhUK
For embedding videos all there needs to be done is to paste the video link in the post content. More information here
– http://www.wpbeginner.com/beginners-guide/how-to-easily-embed-videos-in-wordpress-blog-posts/
– https://codex.wordpress.org/Embeds
You can also create playlist in the post content (only YouTube and Vimeo)
– https://forum.tagdiv.com/video-playlist-2/
There is a section in the theme panel specially created for Google analytics, enter the code there, exactly as provided
– https://www.screencast.com/t/jUk2h10OkxMa
On the bottom of the page edit screen, you should have revisions, you could load a previous revision. That would revert the page as it was at that time
– https://codex.wordpress.org/Revisions
I don’t see anything wrong with the footer on the website
– https://www.screencast.com/t/orMGYatgBh
That is how the footer displays. There are multiple footer templates to choose from, maybe you changed the template used
– https://forum.tagdiv.com/footer-templates/
The footer will become boxed (not full width) if a background image or color is set
– https://forum.tagdiv.com/background-introduction/
That is a category page, the module that is used to display the posts can be changed in the theme panel, per category or in general
– https://www.screencast.com/t/dwJfeOf2
– https://forum.tagdiv.com/how-category-settings-work/
Thanks
Thanks for the Input Edward. I’ll check this out. But these are actually cosmetic edits. Before this theme update, I had a template from tagdiv that I uploaded on my root directory that made me add a page layout like this. Isn’t this possible in Newspaper 8?
Hi,
The single post page displays only a related articles section
– https://forum.tagdiv.com/related-articles/
If you would like to display additional content you will have to edit the loop-single file corresponding to the post template you use (post template 2->loop-single-2.php)
– https://www.screencast.com/t/3ffUaBATNZ
These post templates are located in the main theme folder. Opening one of them in a text editor you can see the structure. Enter the code there, maybe below the related articles section or where you want the block to display. Then check the results.
Thanks
Use the ‘Pagebuilder + latest articles + pagination’ page template.