- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperDesign your post pages using the Default Templates
- NewspaperPage templates
- NewspaperCreate a form contact page
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewspaperHomepage – How to build and set it
- NewspaperPost templates
- NewspaperDefault post templates
- NewspaperCategory templates
- NewspaperPost template ads
- NewspaperSingle External Shortcode and External Shortcode
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperModules Builder in Newspaper Theme
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperCreate a frontend submission form
Hi,
1. The setting on the right is provided by Yoast and will not be used by the theme. This is mentioned in the guide – https://forum.tagdiv.com/primary-category/
The theme provided setting is the one mentioned there.
Translating the post is like creating a different post, when the language is changed the post is changed. This means that all the post settings have to be set for each post, including the primary category, source and via, post template etc.
2. If you follow the instructions from that topic you can translate the footer page correctly – https://forum.tagdiv.com/topic/problems-on-sidebar-and-footer-translation-with-wpml/
Please try as mentioned there and it should work fine. Let me know.
Thank you!
Hi,
I was able to add custom post types to the search results by adding a code to the themes function.php
function search_filter($query) {
if ( !is_admin() && $query->is_main_query() ) {
if ($query->is_search) {
$query->set('post_type', array( 'post', 'page', 'at_biz_dir', 'mdb_item', 'mdb_person', 'mdb_series', 'mdb_company' ) );
}
}
}
add_action('pre_get_posts','search_filter');
This works fine and the desired results are displayed on the search results page.
Unfortunately they don’t appear in the live search results, when typing the term into the search field.
How can I add the custom post types to the live search results?
UPDATE: I see that the live results are using the ‘td_module_mx2’ template. Is it possible to overwrite it with a custom template, which I can store in the child theme directory?
Thanks for your reply Calin.
At top of my homepage, there is a “Trending Song” widget. That widget is overflowing in the desktop view. Please suggest me how to restrict it not to stretch more than the width of the template.
I can only affect the front/home page through the “Edit with TD Composer” option like this. On the front page, title length isn’t an issue, it’s only an issue with search/tag/category pages.
When I try to click on “Edit Template” on a category page, for example, it doesn’t do anything and just indicates “Please select a tagDiv Builder template” when I hover over it with the mouse.
Can it be on page template? I wouldnt mind changing posts to pages as long as it is supported
Hi,
You can integrate/add the javascript code for ads by setting the code with tagDiv Composer on pages and cloud templates in a column text in text area -> https://i.imgur.com/quA2FCZ.png
Hope this will help you!
Thank you!
Hi,
1. The primary category has to be set manually for each post, regardless of its language. Setting a primary category for a post in a English for example, won’t have any effect on the translated posts, one has to be set by you.
2. This is a somewhat related topic – https://forum.tagdiv.com/topic/translate-cloud-templates-header/
I see you are using a cloud header template, you can create multiple header templates and set one for each language. You can use the header manager to set the desired header depending on the language. For example edit the translated homepage with the composer and set a header that you craeted for that language – https://prnt.sc/qtvz5v Same for the cloud template for posts, categories etc.
For the footer page, in that topic there will be information about how it can be done. Should work fine.
3/4 Change them how exactly? Those fields are added by the theme, changing the actual fields will require you to make modifications in the theme files. If that is what you want, the fields are defined here – https://prnt.sc/qtw1da
You can set this information for each post, no need to translate those fields, if maybe that is what you want to do.
Let me know.
Thanks
Hi vifed,
You can use our forum and create new topics about the problems or help you need and we’ll try to help you.
I do not quite understand, do you want to have control over the posts that are appearing on homepage? if yes, then you can do this by editing the homepage with tagDiv Composer, click on blocks and filter the posts -> https://i.imgur.com/N28M2ZF.png
Flex Block Settings Guide -> https://forum.tagdiv.com/flex-block-settings-guide/
Hi jrvalle,
If you choose to use cloud templates and tagDiv Composer you can set the ads where you want on the website -> https://demo.tagdiv.com/newspaper_romania_news/ -> https://demo.tagdiv.com/newspaper_gossip/ all you need to do is to make the right settings on the row and use flex blocks not blocks.
Thanks
Hi,
1. That is because you are using a predefined footer stile, these can not be edit only to add new elements, if you want to set/change the footer elements choose an empty footer and set in Appearance>>Widgets>>Footer1/Footer2/Footer3 the elements you want to display. Also the text from about section can be set here -> https://i.imgur.com/9sdRpwW.png -> https://forum.tagdiv.com/newsmag-footer-templates-2/
2. If you want to remove the show comments from modules/blocks all you need to do is to go in Newspaper>Theme panel> Blocks Settings > Meta tag on Modules/Blocks and deactivate the “Show comment count”.
-> http://prntscr.com/pl104p
3. From what I can see you are using the latest post as your homepage, so in order to add the popular posts in sidebar you’ll need to go in Appearance> Widgets set a block (for example block 1) in your sidebar and set the filter on popular -> https://i.imgur.com/2nwoJIu.png
Thank you!
Dear tagDiv users.
With Newsmag theme I use
When I go to my events calendar domain/events
I get no good CSS rendering ‘The Events Calendar’ from Modern Tribes.
https://theeventscalendar.com/product/wordpress-events-calendar/
But when I go to the event calendar page on WordPress I get a wp_booster error and the CSS of the plugin is not rendering.
Is this a conflict with the plugin and the theme? How can I use this great theme and this great calendar.
Screen:
https://imgur.com/i9Dfsqd
Trace back:
Array
(
[0] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php
[line] => 37
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php
[1] => td_module: td_module_15($post): $post is not WP_Post
)
)
[1] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php
[line] => 16
[function] => __construct
[class] => td_module
[object] => td_module_15 Object
(
[td_post_theme_settings] =>
[is_single] =>
[post] =>
[title_attribute] =>
[title] =>
[href] =>
[module_atts:td_module:private] => Array
(
)
[td_review:protected] =>
[is_review:protected] =>
[post_thumb_id:protected] =>
)
[type] => ->
[args] => Array
(
[0] => stdClass Object
(
[ID] => 0
[post_status] => draft
[post_author] => 0
[post_parent] => 0
[post_type] => page
[post_date] => 0
[post_date_gmt] => 0
[post_modified] => 0
[post_modified_gmt] => 0
[post_content] =>
[post_title] =>
[post_excerpt] =>
[post_content_filtered] =>
[post_mime_type] =>
[post_password] =>
[post_name] =>
[guid] =>
[menu_order] => 0
[pinged] =>
[to_ping] =>
[ping_status] =>
[comment_status] => closed
[comment_count] => 0
[is_404] =>
[is_page] =>
[is_single] =>
[is_archive] =>
[is_tax] =>
)
)
)
[2] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/Newsmag/includes/modules/td_module_15.php
[line] => 12
[function] => __construct
[class] => td_module_single_base
[object] => td_module_15 Object
(
[td_post_theme_settings] =>
[is_single] =>
[post] =>
[title_attribute] =>
[title] =>
[href] =>
[module_atts:td_module:private] => Array
(
)
[td_review:protected] =>
[is_review:protected] =>
[post_thumb_id:protected] =>
)
[type] => ->
[args] => Array
(
[0] => stdClass Object
(
[ID] => 0
[post_status] => draft
[post_author] => 0
[post_parent] => 0
[post_type] => page
[post_date] => 0
[post_date_gmt] => 0
[post_modified] => 0
[post_modified_gmt] => 0
[post_content] =>
[post_title] =>
[post_excerpt] =>
[post_content_filtered] =>
[post_mime_type] =>
[post_password] =>
[post_name] =>
[guid] =>
[menu_order] => 0
[pinged] =>
[to_ping] =>
[ping_status] =>
[comment_status] => closed
[comment_count] => 0
[is_404] =>
[is_page] =>
[is_single] =>
[is_archive] =>
[is_tax] =>
)
)
)
[3] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/Newsmag/loop.php
[line] => 34
[function] => __construct
[class] => td_module_15
[object] => td_module_15 Object
(
[td_post_theme_settings] =>
[is_single] =>
[post] =>
[title_attribute] =>
[title] =>
[href] =>
[module_atts:td_module:private] => Array
(
)
[td_review:protected] =>
[is_review:protected] =>
[post_thumb_id:protected] =>
)
[type] => ->
[args] => Array
(
[0] => stdClass Object
(
[ID] => 0
[post_status] => draft
[post_author] => 0
[post_parent] => 0
[post_type] => page
[post_date] => 0
[post_date_gmt] => 0
[post_modified] => 0
[post_modified_gmt] => 0
[post_content] =>
[post_title] =>
[post_excerpt] =>
[post_content_filtered] =>
[post_mime_type] =>
[post_password] =>
[post_name] =>
[guid] =>
[menu_order] => 0
[pinged] =>
[to_ping] =>
[ping_status] =>
[comment_status] => closed
[comment_count] => 0
[is_404] =>
[is_page] =>
[is_single] =>
[is_archive] =>
[is_tax] =>
)
)
)
[4] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-includes/template.php
[line] => 722
[args] => Array
(
[0] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/Newsmag/loop.php
)
[function] => require_once
)
[5] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/Newsmag/index.php
[line] => 30
[function] => load_template
[args] => Array
(
[0] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/Newsmag/loop.php
[1] => 1
)
)
[6] => Array
(
[file] => /var/www/virtual/mysite.biz/htdocs/wp-includes/template-loader.php
[line] => 98
[args] => Array
(
[0] => /var/www/virtual/mysite.biz/htdocs/wp-content/plugins/td-composer/legacy/Newsmag/index.php
)
[function] => include
)
)
I would like to add the excerpt of a post in my template…
How it is possible to do this?
I even tried creating a custom shortcode in the themes functions.php file but it doesnt seem to work…
(here is an example for the post_title)
function myshortcode_title( ){
return get_the_title();
}
add_shortcode( ‘page_title’, ‘myshortcode_title’ );
1) Hello, I am using the WPML plugin to translate a site. How can I make sure that when translating a record, data from the “Primary category” is copied to the translation?
2) The translation plugin works on all pages except header and footer. Pages translated 100%. I tried to create a new template page, it does not work. I ask for help in solving this problem.
Hello !
You can add the Tags into post template using the tagDiv Composer as you can see it here: https://www.screencast.com/t/QUjxjjjN
If you don’t use a post cloud template you can import one by following our tutorial here: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
Thank you !
Hi,
If you are using PRO demos, that are using cloud templates, then the settings from theme panel will not apply on those templates, only on standard style.
In order to make some changes, you’ll need to edit the pages and templates with tagDiv Composer -> https://i.imgur.com/SbatOH6.png -> https://i.imgur.com/jeFg9aP.png
Thank you!
Hello !
If you want to use this option using wp bakery you will have to create that page / template from scratch. WP-Bakery does not work on tagDiv Composer created templates. You can achieve this using tagDiv Composer by editing the ROW to Stretch: https://www.screencast.com/t/UyDMLKHGu
I hope this was helpful !
Thank you !
Hi,
from what I can see now the mobile version and the desktop one are the same, maybe before you had the mobile theme plugin activate.
Also you can customize the pages and cloud templates using tagDiv Composer per each device (dis new option will be apply on flex elements and cloud elements) -> https://i.imgur.com/Z6kmrgg.png
Thank you!
Hi,
From what I can see you are using a cloud header from tagDiv Cloud Library, so you’ll be able to edit it using with tagDiv Composer -> https://i.imgur.com/j2B8LNR.png click on edit template -> https://i.imgur.com/rMWCuMu.png after that use the drag and drop to move the elements ( search) -> https://i.imgur.com/CVdHszk.png also make sure that the search is set to align right -> https://i.imgur.com/gUvrIki.png and the menu not.
Also you can use a custom css here is an example -> https://i.imgur.com/W1JGZrW.png
.tdb_header_logo, .tdb_header_menu{
float: left!important;
}
The code need to be set in theme panel> custom code> custom css.
Thank you!
Hi,
This option already exist in our theme, in cloud templates.
The modified date on posts can be set using tagDiv Composer on single post template from tagDiv Cloud Library.
-> https://www.screencast.com/t/eYkeLqbCqV -> https://www.screencast.com/t/3qCSo9Nxtt
Also your requirement is for a custom work, this is not cover by the support policy -> https://forum.tagdiv.com/support-policy-2/
Thank you for your understanding!
Haven’t received a reply yet. I’ve noticed that the player will anchor at the bottom of the page correctly if I’m using the default post theme and not a cloud template. When I switch back to the cloud template, the video player anchors incorrectly at the bottom of the post.
How can I get the video player to anchor at the bottom right of the page after scrolling while using a cloud template?
Is there a way to make a unique page template for posts in a specific category? I’ve created a single page cloud template for use as my default site-wide, but I’m looking to create a different one for displaying posts within a category.
I know I can assign a single post to a unique template, but I’m looking to do this automatically base on category.
Suggestions?
Good evening
I’d like to know how I can reduce the space above the footer.
I wish the detachment could not be seen.
Here is an image to better understand and the css code to customize the site inserted so far.
Thank you
Image: https://www.novabbe.com/wp-content/uploads/2020/01/spaziodaridurre.jpg
Code:
@media (min-width: 768px){ .single .td-post-template-8 .td-post-header { height: 200px; } }
.td-page-title {
display: none;
}
.page-id-7096 .td-crumb-container{
display:none;
}
.td-related-title .td-related-right {
display: none;
}
.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:11px;
line-height:13px;
}
.pagination span, .pagination a {
display:block;
float:left;
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#fff;
background: #555;
}
.pagination a:hover{
color:#fff;
background: #3279BB;
}
.pagination .current{
padding:6px 9px 5px 9px;
background: #3279BB;
color:#fff;
}
Hello, i am trying to import a template but always there is a gap 48px between header area and main content. Could you checj out my homepage https://horrormovies.gr? Thank you.
Hello !
That you can be achieved by following our tutorial here: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
Thank you !
Hi,
You can check the blocks that you have in category pages in theme panel, global templates -> https://i.imgur.com/91UMtH0.png individual templates -> https://i.imgur.com/BxL7lS5.png
Hope this will help!
Thank you!
Hello !
You have the ability to edit your templates and demos using tagDiv Composer page builder: https://forum.tagdiv.com/tagdiv-composer-tutorial/ ;
You can import the demo without content but please make sure to set the categories in the filters tab on each block here: https://www.screencast.com/t/XDek16ti6f
Thank you !