- 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
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Opt-In Builder – Emails
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperLockers
- NewspaperLeads
Hi,
1) and 2) The blockquote color can also be changed in the theme panel now (new option. sorry!) http://screencast.com/t/W1FjVy5EAk
3) You can either set the alignment by code to affect all blockquotes or you can set it from the post edit screen for each post you edit: http://screencast.com/t/ujJJtRolXvp The code i provided will apply the style for all blockquotes at once.
4) Yes, you can change the font for the default blockquote from the fonts section in the theme panel.
thank you!
Hello,
It depends on what you have in your htaccess. The code you need to add is this one: http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
You can make a back-up and try to copy and paste, but if you have anything else besides the entries shown by Catalin, they will be removed.
Thank you
I’m trying to upgrade to Newspaper 6.6.5 from Newspaper 4.6.1.
I have problems with the shortcodes, I thought the update script would replace all old shortcodes in my posts with the new ones but that didn’t happen?
For example td_block7 this shortcode is an old one and isn’t replaced in any of my 200 posts.
How can I fix this?
Hello,
The theme wasn’t designed to display the post views on modules but you can achieve that adding this code http://pastebin.com/JdFgK89X in td_module.php like here: http://screencast.com/t/BjVvJT9m Then you need to edit the module you want the views displayed on
<?php echo $this->get_modules_views();?>
And add the code in one of these files replacing the get_comments code: http://screencast.com/t/HdSVmjPFqE0z3
Then you can use this css for better alignment:
.td_module_wrap .td-module-meta-info .td-post-views {
position: relative;
display: inline-block;
top: 2px;
margin-left: 14px;
color: #aaa;
}
.td_module_wrap .td-module-meta-info .td-post-views span {
margin-left: 5px;
}
result: http://screencast.com/t/Zk0KGdzOlo3
I hope this helps.
Thank you!
Hi,
You can set pagination for block 4 like so: http://screencast.com/t/OD6RGwjZtf
result: http://screencast.com/t/M4XvbbGs4v06 or you can chose another type of pagination like a load more button or infinite load.
As for the latest articles, they can be styled like blocks 4 if you change the module for it from here: http://screencast.com/t/QsOWWAiOsMM
result: http://screencast.com/t/yjMksYfwi
I hope this helps.
Thank you!
Hi
I am not aware how GeoDirectory plugin works but if generate new post type then you can displayed it in blocks by adding its name in block’s filter options like here: http://screencast.com/t/rEne9rFB
Please note that this plugin is not tested with the theme and we cannot guarantee it will work 100%.
Thanks!
Hi
Try using a row js from Visual Composer to add your code on the page: http://screencast.com/t/Rruf6yhllR9R This block is designed to render js code and should work fine. Also I’ve test your code with a text block and works fine: http://screencast.com/t/sOHgx4sW – http://screencast.com/t/NMea4dxUpB
Thanks!
Hello,
This is because of the css getting rewritten. I suspect you use a child theme or you have some code in your custom css box that affects the theme color. Css works in cascades and it will load every phase of the code before coming to it’s final form. If the code gets rewritten sometimes you can see this cascade loading as you do on your website. Speedbooster also does this as it moves css render blocks to the footer so the modifications you make will be loaded after the style.css. The solution for this is to make the change directly in style.css in the main theme and change the accent color there. This way, that will be the first color to load.
(not a bug, but circumstance)
I hope this helps.
Thank you!
Hello,
You can control the font family, font size, style, weight and transform from the fonts section. The color of the blockquote is affected by the theme accent color: https://forum.tagdiv.com/theme-colors-introduction/ -http://screencast.com/t/kbdKAg9cIDb
Anything other than this will have to be styled with css.
If you want to change just the quote color, you can use this code:
.td-post-content blockquote p{
color:red!important;
text-align:left;
}
I added a text-align propriety in there so you can change it as well. it can be set to left, right, center or justify.
I hope this helps.
Thank you!
i can’t run block populer 7 day from news
i enable this option from control panel
Hello,
If you want the ad to only appear in one category, then you need to use a condition in the php file. You can use this function:
https://developer.wordpress.org/reference/functions/is_category/ and
Then you can use the code like so:
<?php if (is_category('your category name')){
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
}
Now the ad will only appear in the specified category.
Thank you!
-
This reply was modified 10 years by
Bogdan B..
Splendid, that worked!
Now, one last question for you, @andrei_luca, regarding the darn navbar…
I’m noticing now that there’s a lot of extra space at the bottom of the mega menu than there used to be before I added all of this code. Initially I assumed it was because those elements that you helped me fix were vertically stretched out, but now that they’re the way they should be again, the mega menu still seems to be vertically stretched out. Do you know how I can get it back down to the size it should be?
Here‘s a link to my site again if you want to look and see what I’m talking about.
The following is all the code that’s currently in “Custom CSS” in the Theme Panel:
.sf-menu > .current-menu-item > a:hover, .sf-menu > .sfHover > a:hover, .sf-menu > .td-menu-item > a:hover {
border-bottom: 4px solid #0b9bc6!important;
}
li.menu-item a {
height: 50px;
}
.td_mega_menu_sub_cats .block-mega-child-cats a, .td_block_mega_menu .td-post-category{
height: inherit;
}
Hello again,
Why can’t I enable “Normal pagination” on Block 4 style block (post list)?
Just like it is in Category archive page.
OR
Why can’t I set style to be like Block 4 on Pagebuilder + latest articles + pagination template?
Well, it’s good to keep up on security issues, as WordPress continues to refine its core platform and will advise to update when security vulnerabilities are found (e.g., “cross site scripting” issues, or a problem with ajax/java, or comments injection, etc.). This is the nature of the Web. Technically “SSL” has not been “secure” the past 20 years, contrary to the term secure. SSL3,TLS1,TLS1.1 are all not secure. So, the web continues to evolve and mature in terms of learning to actually test for security problems.
Right now, both Newspaper and WordPress are as secure as “is known” if you have the latest versions of each.
You should also check for articles online for how to harden/secure a WordPress site (e.g., don’t let folks register, don’t have your admin username be “admin,” us a plugin like limit login attempts to block folks trying to guess passwords, turn off editing of files from the WP admin panel, make sure your web host uses a dynamic system like CSF to auto-block IPs probing your site, avoid OLD plugins written prior to 2015, etc.).
You can use tools like Securi to scan your site for known malware, and your host can do the same.
Note that Google massively changed their algorithms in January to deal with issues of content spam based on “brand names” and other things, so every site with lots of “brand names” and company names may have seen some major changes in SERPS.
Checking your Google Webmaster Tools/Search Console regularly and examining what’s going on there is also advisable.
Hope that helps 🙂
You need to wait for the theme update as the “bundled version” has to be tested as compatible and error free with the existing theme custom blocks and whatnot. You don’t have a licensed version of VC, so you cannot update from VC as you don’t have license with them.
Hello Sayeed,
If you want to disable all the sidebars in mobile and tablet mode, you need a bit of CSS to hide this option. Plase try the code below and place it in Theme panel->Custom CSS area, like this: http://screencast.com/t/5iPUuNZoso3l
@media (max-width:767px){
.td-ss-main-sidebar {
display:none;
}
}
The above code is only for posts. If you want to hide them for pages, it is not a simple task because it is not easy to target the sidebar class and it depending on how you set the sidebars for pages. As a method to add the sidebar for pages would be with Visual Composer and with Widgetised element, like this: http://screencast.com/t/dXPluCP9xJy or you have to edit each column for responsive from Visual Composer because it is not a specific class for this kind of sidebar to hide it with CSS, like this -> http://screencast.com/t/avmaxUjj5Ala
The code is ->
@media (max-width:767px){
.wpb_widgetised_column {
display:none;
}
}
Please notice that the more article box is not displayed for the mobile version by default.
@media (max-width: 767px){
.td-more-articles-box {
display: none !important;
}
}
If you want to activate for a mobile version you have to switch to display:block!important
For your second request, if you want to reduce the size for the next/prev button on smart list 7 you have to use a bit of CSS. Please try the code below and place it in Theme panel->Custom CSS area.
.td-smart-list-button {
padding: 7px 10px;
font-size: 14px;
}
Hope this helps and let us know how it goes!
Thank you for the message!
Hello,
Unfortunately all of them used on the website. Is the width required just on the homepage or on posts as well?
If only the homepage will get affected, then just the elements on the homepage will have to be adjusted. If the posts and category pages will get this width as well, then you will have quite a bit of work on your hands as our modules and blocks depend on the fixed width of the layout. Here is an example on a big grid so you can understand what I am referring to:
This is 1120px width: http://screencast.com/t/WuNiBfRDLV content gets cut-off. If I decrease the size of the main container: http://screencast.com/t/nfxlyC0l6
Thanks.
The smart sidebar only shows up in individual posts, not pages (I only have the homepage built with visual composer). I can’t deactivate it on themepanel>template settings>smart sidebar, or at least customise it using blocks.
hi there, I have tried to add custom js me but can not be displayed properly. This is my js:
<script type=”text/javascript”>
var widget_embed = ‘posts’;
</script>
<script src=”http://gregetan.com/wp-content/widgets/wp-widget-300.js”
type=”text/javascript”>
</script>
<div id=”embed-widget-container”></div>
I add this code into the widget text block, text block on the homepage of the course with the visual composer. I use this code and working properly before. is there something i missing?
my site : https://www.nasionalisme.co
Hello chand3g,
I have checked your website and saw that you are using Header Style 8. Please try the code below and add it in Theme panel->Custom CSS area and then your top bar menu will be displayed in the mobile version.
The code is ->
@media (max-width: 767px){
.td-header-top-menu-full {
display:block!important;
}
.td-header-style-8 .td-header-top-menu {
display: block!important;
}
.td-header-sp-top-menu {
display: block !important;
}
.td-header-style-8 .td-header-top-menu {
margin-left:0;
width: 100%;
}
}
The result you should see here -> http://screencast.com/t/MRdAUcys3PK
For your second request, unfortunately, I do not understand very good on what you are referring to. Please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
Hello,
The smart sidebar can be deactivated first from the theme panel: http://screencast.com/t/jO2pcjlXKYu
This will deactivate the smart sidebar from the Widgets area. If your sidebar is not a widget, but a row/column in visual composer like so: http://screencast.com/t/g9JsVY9sw, in this case the smart sidebar is added as an extra class on the visual composer row, so you need to remove this class in order to eliminate the sticky sidebar: http://screencast.com/t/RQQ2IJMu7
You can read more about smart sidebars here: https://forum.tagdiv.com/smart-sidebar-2/
As for the second part of your question, you can customize a sidebar from the block settings for every element you add to it. Depending on the type of sidebar widget or visual composer. You can filter different categories to it by using content blocks like on your page and adding filters like shown here: https://forum.tagdiv.com/block-settings-tutorial/
As for the size, i assume the width. this is not customizable as our theme was built in a fixed grid layout and there is no option to modify the width of elements.
Thank you!
Hello,
Unfortunately modules and blocks do not detect the category accessed so you will have to create different sidebars for every category and place a block inside them filtered by the specific category.
Thank you!
Hi,
I deleted all blocks from the robots.txt file (put all allow) as by recent statements seem to suggest
All ok, but Google webmaster tells me a soft 404 error in wp-content/themes/Newspaper
clicking on that file in the browser appears follow:
Fatal error: Uncaught Error: Call to undefined function get_header() in /home/site/public_html/wp-content/themes/Newspaper/index.php:6 Stack trace: #0 {main} thrown in /home/site/public_html/wp-content/themes/Newspaper/index.php on line 6
Everything’s OK?
I simply put a Disallow:/wp-content/themes/Newspaper
or what?
Thanks
Hi,
It depends if the file will be modified. There is a changelog and a list of modified files in every update, so if the td-block-related-posts file will be modified, then you will need to make the modification again. If not, then you can make a back-up of your file somewhere on your server or local, and simply replace the file after an update.
Thank you!