- NewspaperPosts Loop Element
- NewspaperFlex Block Builder and Flex Loop Builder
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewsmagPage templates
- NewspaperPage templates
- NewspaperSmart Sidebar
- NewspaperChild Theme Support
- ApiAPI – Thumbnail – Introduction
- ApiAPI – Category top section style – Introduction
Hi,
Sorry, the pagination is available only on posts loop element, it can not be achieve on flex block.
Thank you!
Hello,
I have not created any template from the Cloud Templates for category pages.
I see the Newspaper/category.php and for the content/posts I see that “use” the loop.php
In loop.php I cannot see the title, image, except of each post.
So, how can I found the content of post in php file https://imgur.com/a/vfq45w7
Hi,
In most of cases the pagination problem is made by an untested plugin, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Also if you are using a cloud category template from tagDiv Cloud Library, you can edit it with tagDiv Composer like this -> https://i.imgur.com/KYld5ZR.jpg and set on posts loop the sort order you want -> https://i.imgur.com/ubjECfO.jpg
Let me know the results!
Thank you!
Hi,
For post loop you can use this custom css:
.my-posts-loop-class .td-module-meta-info{
height: 400px
}
.my-posts-loop-class .td-module-meta-info .td-read-more{
position: absolute;
bottom: 10px;
}
Hope it will help you!
Thank you!
Thanks Calin! Sorry for the delay.
I am using the second version only where I need it, I have also applied the class to Posts Loop of the categories (applying the class to the Template), but I don’t see the same result that I get in Home where I have the simple Flex Block 1.
How can I also apply your CSS to the Posts Loop?
Is there any possibility to set ads between posts on the homepage of the mobile theme? I just found an option for loops that also include archive pages and tag pages.
Greetings Kathrin
Hi,
Unfortunately there is no option or element to achieve what you need, but you can change the pagination from homepage, for example if you are using a posts loop (latest articles) you can use tagDiv Composer on page and the follow settings -> https://i.imgur.com/JzRFUqq.png also if you want I can help with a custom css to have that layout for next prev buttons, just provide me a link here I can inspect these elements.
If this is not what you mean, please provide some more examples with some screenshots.
Thank you for your understanding!
Hi,
Unfortunately the pagination ca be set only on posts loop element ( https://i.imgur.com/JzRFUqq.png ), for the moment on blocks and flex are only next and prev buttons.
Thank you!
Hi,
The place for the image will not be change if you change the image size, only the quality of the image (it will re-dimension another image), the size of thumb you can edited it using these settings -> https://i.imgur.com/jgzFhBe.jpg
Unfortunately the pagination ca be set only on posts loop element, for the moment on blocks and flex are only next and prev buttons.
Thank you!
Hello,
I’m writing because of two problems we’re getting in a clean Newspaper installation:
1) In the category template we have included a post loop block to show all the child articles with a ‘load more’ button, but when we click on it, the new set of loaded posts is exactly the same group of articles that were already shown. This happens with any kind of pager: conventional paging (1, 2, 3…), next/prev AJAX buttons, and load more button (this last one is the solution we want to use).
2) When updating a post already published we get a message “The response is not a valid JSON response”. Specifically, we were trying to set the main category of each post in the template selector.
We’ve updated to the latest version of WordPress (5.4) and Newspaper (10.3) but the problem remains. We write an email to contact@tagdiv.com with the access to the site and the details aswell.
Thank you.
Can I request that as an option? The ability for Post Loops to have an ad tab where you select an ad after a certain amount of posts each time? Unless there’s some other solution.
Hi again Calin,
What about security? Even after upgrading to Newspaper X (following your steps), WP says we are still using WP Bakery 5.2.1 while the latest and updated version is 6.1.
Our main objective while upgrading is to improve security and solve that issues using theme’s latest version available.
May we rest thinking our site is safe and all plugins are up-to-date with Newspaper X?
Thanks.
—–
WP Bakery
Installed version: 5.2.1
Latest available version: 6.1
13.12.2019 – ver 6.1.0
– Added: Catalan, Ukrainian, Hungarian translations
– Update: WordPress 5.3 Compatibility
– Update: FontAwesome update to 5.10.2
– Update: loop attribute not found rows and order by relevance
– Update: PrettyPhoto https support
– Fix: RTL controls on backend
– Fix: RTL column reverse
– Fix: Disabled post revisions desing options
– Fix: Save row/section as template
– Fix: HoverBox improvements
– Remove: IE9 support
17.07.2019 – ver 6.0.5
– Fix: LESS vendor folder available
– Fix: All Media in Text Block works properly
15.07.2019 – ver 6.0.4
– Fix: Element API works properly for 3rd party elements
– Fix: Post grid filter displayed properly
– Fix: Custom CSS editor does not remove “\”
– Fix: Directory name typo for Instagram filter files corrected
– Fix: Templates import API does work correctly
– Fix: Row design options settings for elements in templates works properly
– Fix: WooCommerce cart element works properly
– Fix: Option “Save as a template” for a row is available
– Fix: Elements edit form displayed correctly
– Fix: Warning message for PHP function htmlspecialchars
– Fix: Custom post types taxonomies work in Post Grid element
– Fix: Revolution Slider output content properly
31.05.2019 – ver 6.0.3
– Update: Init action priority is changed from 9 to 11
– Update: Allow return in shortcode templates
– Update: Coding standards improvements
– Fix: Param Group clone
– Fix: Checkbox value display in edit form
– Fix: Loop attribute tax_query render
– Fix: Attach image typo
– Fix: Removed notice when shortcode template file missing
– Fix: Map meta cap warning on custom post types
17.05.2019 – ver 6.0.2
– Fix: Container elements controls in Backend Editor
15.05.2019 – ver 6.0.1
– Fix: Tour element class error
15.05.2019 – ver 6.0
– Update: Compliance with coding standards
– Update: jQuery Waypoints update to the latest version
– Update: Fallback for previews added
– Fix: Pageable container autoplay
– Fix: Hover box does not flip on iOS devices
– Fix: Responsive media queries work properly
– Fix: WooCommerce products pages in preview mode
– Fix: Data source for Post Grid works with correct taxonomies
– Fix: Design options for elements work in preview mode
– Fix: The Editor got broken after adding many images
– Fix: The posts source got broken in Post Grid after importing data
13.02.2019 – ver 5.7
– Update: Compatibility with PHP 7.3
– Fix: WooCommerce corrected editable role
– Fix: Page preview styles independent from view page
27.11.2018 – ver 5.6
– Update: Compatibility with WordPress 5.0
11.10.2018 – ver 5.5.5
– Fix: SSL issues for fonts
– Fix: Gutenberg improvements
08.09.2018 – ver 5.5.4
– Fix: Link selector works properly in Backend editor
07.09.2018 – ver 5.5.3
– Added: RTL control toggle added for columns
– Fix: Accordion control styles display properly in Role Manager settings
– Fix: Plugin update notice works properly
– Fix: RTL works properly with full screen rows
– Fix: Single Image elements are counted into Yoast SEO sitemap
– Fix: Post grid id applied properly to reduce number of records in wp_postmeta
– Fix: Exception works properly in Post Grid
– Fix: SSL timeout on activation
– Fix: Link selector works properly in Frontend and Backend editors
– Fix: Simplified controls in Design Options save border color
– Fix: Empty space in class name removed for inner column
– Fix: Post grid display proper number of posts specified
27.06.2018 – ver 5.5.2
– Fix: “WPBMap Uncaught Exception” for modifyParam API method
22.06.2018 – ver 5.5.1
– Fix: “WPBMap Uncaught Exception” for dropParam and addParam API methods
15.06.2018 – ver 5.5
– Added: Undo/Redo operations available for the editor actions
– Added: Gutenberg compatibility elements to insert Gutenberg blocks in the WPBakery layout
– Added: 5 columns grid layout for rows
– Added: RTL support for the full width rows
– Added: Settings to enable/disable Gutenberg plugin
– API Added: vc_shortcode_prepare_atts to update prepared shortcode attributes
– API Added: vc_map_get_attributes to add new, modify all compiled attributes
– API Added: vc_basic_grid_filter_query_filters to modify custom query in posts grid.
– API Added: vc_is_valid_post_type_be to disable/enable Backend Editor for several post type
– API Added: vc_show_button_fe to show Edit With WPB in Frontend Editor
– API Update: vc_shortcode_output added shortcode tag in attributes
– Update: Order by “include” added to WooCommerce
– Update: WooCommerce elements default order/orderby synchronized
– Update: Isotope/Masonry library version update
– Update: Performance improvements for the Frontend Editor loading
– Update: Performance improvements for the Editor Save
– Update: Performance improvements for the Posts Grid loading
– Update: WPML compatibility for posts/front pages
– Update: RevSlider compatibility improvements
– Update: Ninja Forms compatibility improvements
– Update: ChartJS library update
– Update: vc_wpautop, vc_wpnop versions updated
– Fix: PHP 7.2 compatibility improvements
– Fix: Post Slider custom links work properly
– Fix: Extra p tags in grid removed
– Fix: Blog page design options work properly
– Fix: WPML single image translation available
– Fix: HoverBox element on iOS and Firefox improvements
– Fix: Builder.parse in frontend
– Fix: Custom OnClick action in buttons for Posts Grids
– Fix: Shortcode attributes update by reference inside filter vc_shortcode_output
08.03.2018 – ver 5.4.7
– Fix: Custom shortcode mapping
07.03.2018 – ver 5.4.6
– Update: Compatibility with PHP 7.2 added
– Update: Compatibility filters for WP Toolset added
– Update: French translation updated
– Update: Persian translation updated
24.11.2017 – ver 5.4.5
– Fix: Firefox tinymce and vc_link issue
– Fix: WooCommerce vendor categories list
16.11.2017 – ver 5.4.4
– Fix: TinyMCE Saves linebreaks
15.11.2017 – ver 5.4.3
– Added: Shortcode support in raw_html
– Added: More filters for vc_btn shortcode
– Update: Shortcode automapper admin content escaping
– Fix: Improve WordPress 4.9 tinyMCE support
– Compatibility: with WordPress 4.9
– Compatibility: with WP Tool Set plugin
13.10.2017 – ver 5.4.2
– Fix: Updater URL typo
12.10.2017 – ver 5.4.1
– Fix: Plugin zip size
12.10.2017 – ver 5.4
– Update: WPBakery Page Builder logo update
– Update: Navigation bar color schema in Backend and Grid Builder
– Update: TweetMe text update with WPBakery data
– Update: FontAwesome library update
– Update: PO/MO files with new strings
– Fix: Param saving dependant on checkbox
– Fix: Extra javascript loading with Yoast SEO activated
– Fix: Double shortcode parsing in WPB field
– Fix: Checkbox param value repeat inside param group
– Fix: Fixed encodeUriComponent
– Fix: Device icons for column responsiveness
– Fix: WPML vendor
– Fix: ZigZag separator display on Firefox
– Fix: Element presets category merge
15.09.2017 – ver 5.3
– Update: WordPress native color interface
– Update: New interface icons
– Update: New SVG element icons
– Update: FontAwesome library is updated
– Update: With new color scheme comes new name WPBakery Page Builder
03.08.2017 – ver 5.2.1
Update: Function add_shortcode_param returned
Update: Function get_row_css_class returned
Update: Function wpb_map returned
Fix: std fixed for attribute types nested in a param group
Fix: vc_js error on frontend editor
Fix: Font dropdown in TinyMCE for WordPress 4.8.1
Hi,
The code need to be set on the files that are using as post templates for your posts, also please notice that all the changes made in them files will be lost when you’ll make a theme update.
If you are using a standard post style from 1 to 13 -> https://i.imgur.com/QQiXTjF.png the code need to be set in these files loop-single-x.php (x represent the number of post style) -> wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-1.php -> https://i.imgur.com/SjuUy38.png the code can be set there, also it need to be set on the post style you are using. If you are using the default post style and tagDiv Standard pack is enable https://i.imgur.com/YHYP2o5.png the file that need to be edited is this one -> wp-content/plugins/td-standard-pack/Newspaper/loop-single.php if this theme plugin is disable, then you need to edit for default post style this file -> wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php
The above changes can be set in a child theme using our guide from here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
If you are using a single post template from tagDiv Cloud Library, then you need to set the code in one of the files from here -> wp-content/plugins/td-cloud-library/shortcodes/single for example in tdb_single_author.php -> https://i.imgur.com/iYm4uEd.png also the code that is provide to you need to be adjusted (these changes can not be set in a child theme).
Hope this will help you!
Thank you!
Hello!
I’ve been using the Theme for the past few days and it’s really good! I’m using this guide: https://forum.tagdiv.com/posts-with-pagination/ to add pagination to my posts and works wonderfully.
Now i want to customize that pagination so that it only shows “< Previous” and “Next >”. I can’t understand why editing the themes loop-single.php doesn’t work. All my posts are using the Default Template but nothing seams to work.
I was able to manage and remove all numbers from the pagination by adding a filter to “wp_link_pages_link” but for some reason I never receive the “Previous” or “Next” links in my filter, so i can’t edit them to add text to them o anything else.
What are my alternatives here? Shouldn’t it be using the single.php to render my posts?
What am i not understanding? Where does my confusion stems from?
Thanks!
Hi there,
I have an urgent question:
How can I add multiple “like counts” & “share” buttons in the same post/page, without being interconnected + mention the URL for each post I want to share? I cannot find a way to do it from the Newspaper X theme itself and when I try to install any 3rd party plugin, my “save” button from “edit post template” stops working (saves in a loop).
You can find here an example of what I need: http://www.citatecelebre.net/
Looking forward to your soonest reply
Thank you
Madalina
With the new update, is it now possible to create a posts loops with ads in between them and then offsetting the posts?
What I’m looking to do on a category template is to create a posts loop with 6 posts, put an ad underneath, create a second posts loop underneath and offset that to post 6, put an ad underneath that, create a third posts loop and offset that to post 12, etc.
If that’s not possible, is there a way to do this in a different way?
Hi,
Sorry, was a misunderstanding, you where referring to image box elements -> https://i.imgur.com/mAgkvnL.png these elements are set in Appearance> Widgets, unfortunately is look that now is a problem with the image box element from the widgets and is no longer working. If you want to set this element you can set the page template for the homepage to default, edit the homepage with tagDiv Composer and set a row and in the row set the posts loop for latest articles and the blocks and elements you want in sidebar.
-> https://i.imgur.com/EOR4vVU.png -> https://i.imgur.com/kIpUPGX.png -> https://i.imgur.com/CcCRctV.jpg -> https://i.imgur.com/xc8bcGV.png -> https://i.imgur.com/vYMXBRW.jpg -> https://i.imgur.com/Gjn32Rq.png -> https://i.imgur.com/7CSToXu.png -> https://i.imgur.com/tzkpJE8.png -> https://i.imgur.com/1kvNx1b.png
This massage appear for the standard templates: “Please select tagDiv Builder Template from the theme panel or set a default template. The current page/post uses a template that is not editable” when you try to edit theme with tagDiv Composer, only cloud template from tagDiv Cloud Library can be edited using tagDiv Composer.
Hope this will help you!
Thank you!
Hi,
As I can see on mobile you have the responsive version of the theme -> https://i.imgur.com/xsUh0vU.png and fr post you have the mobile theme plugins. Also the first block is a slide one, you can slide it to the left.
Please check a similar topic: -> https://forum.tagdiv.com/topic/mobile-version-i-cant-see-menu/
Also if i’m right on your homepage you have set a posts loop element with tagDiv Composer -> https://i.imgur.com/UsMgPY3.png then to achievev what you need, you need to set on the row this option (rows that you do not want to have when you are using the pagination) -> https://i.imgur.com/RlD5F7d.jpg
Thank you!
Hi,
Unfortunately there is no option for unique articles for the entire website, sorry! If you need this, it will be quite hard to achieve it if you are using a sidebar, please try on your category template to remove the sidebar and use only the category grid and posts loop, also I recommend to do the same with the posts template, if you want you can import from tagDiv Cloud Library some templates that are already without sidebars and edit theme with tagDiv Composer.
Thank you for your understanding!
Hi,
Yes, you can achieve this use the offset, for the latest articles set with tagDiv Composer (posts loop) you can use it like this -> https://i.imgur.com/VsxJx4X.jpg -> https://i.imgur.com/jovwwxG.png alos you can drag the element when you want in the page. If you are using the latest from the page template -> https://i.imgur.com/Xh2OkCj.png then you can set the offset here -> https://i.imgur.com/hfEYbVA.png -> https://i.imgur.com/VDjhfOQ.png
Hope this will help you!
Thank you!
Hi,
Let try one more time together.
1. First please make sure that you are using the latest version of Newspaper theme, 10.3.1 also make sure that you are using the child from the current package.
2. Inside the child theme mane two sub-folders parts and single(Newspaper-child/parts/single) after that copy from wp-content/plugins/td-standard-pack/Newspaper/parts/single the loop-style-2.php and single_template_2.php -> https://i.imgur.com/Pj77q5U.png
3. Make sure that you have set the child theme -> https://i.imgur.com/MbJ82bi.png set the post style 2 on posts -> https://i.imgur.com/whjYPbK.png
4. Make the changes -> https://i.imgur.com/yUynyEX.png and check the results -> https://i.imgur.com/XiT2nnK.png
Also all these can be done using a single post template from tagDiv Cloud Library, you can edit it with tagDiv Composer and set the text you want where you want.
Hope this will help you!
Thank you!
Hi,
Yes, you can achieve this, please make sure that the page template is set on default -> https://i.imgur.com/c91svXF.png after that edit the page with tagDiv Composer -> https://i.imgur.com/akj8ca4.png if the “latest Articles is still in the homepage, click and drag it at the to of page -> https://i.imgur.com/ws96HLM.png -> https://i.imgur.com/Ar3hbTI.jpg if the latest section is no longer in the page you can set it using the posts loop element -> https://i.imgur.com/HA0WFZI.png
Hope this will help you!
Thank you!
I’m using the single post template from default pro theme. How can I stop the single posts template from loading other posts in loop?
Hey, I need a Popular Posts loop which I managed to output. Now I need to transfer the views count for the articles (earlier the site I built used AddThis – it’s an html site, I’m transferring it into the WP).
So, I need to be able to consider those counters. I saw “Post views source” dropdown. Does that mean I can use AddThis? If not, how can I change this meta field? I’ve tried the WP-PostViews Plugin – it gives custom fields, though when I edit it – it doesn’t influence the counter of the theme. Could you please assist in this qstn? Thanks.
Thanks for your help.
In the single-template-2.php I see where to add the code next to the author-date under the title:
<header class="td-post-title">
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?>
<p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle'];?></p>
<?php } ?>
<div class="td-module-meta-info">
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>
</header>
But on the loop-single-2.php there is no place to add the code …
if (have_posts()) {
the_post();
$td_mod_single = new td_module_single($post);
?>
<?php echo $td_mod_single->get_social_sharing_top();?>
<div class="td-post-content">
Anyway, any change I make to the single-template-2.php is not printed on the website.. is like it doesnt work … i just try to print the XXXXXXXXXXXXXXXXXXXX and its like doing nothing…