- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewsmagtagDiv Composer Tutorial
- NewsmagWeather Widget
- NewsmagExchange widget
- NewsmagInstagram widget
- NewsmagHow to use the Visual Composer plugin
- NewsmagIntroduction
- NewsmagFooter templates
- NewsmagCustom ad spots
- NewsmagLoading image effects
- NewsmagSmart sidebar
- NewsmagFeatured images
- NewsmagGeneral settings
- Newsmag7 days post sorting
- NewsmagTheme thumbs
- NewsmagExcerpts introduction
- NewsmagTheme colors introduction
- NewsmagtagDiv slider gallery
- NewsmagVideo playlist
I have a problem with the URL being displayed on the pages where the excerpts should be. I’m using Embedly for embedded articles and the excerpts display fine on their own page but not on the home page where the blocks are used as a link to the embedded story
Any suggestions?
Hi
All thumbs sizes can be fount in theme panel > block setting: http://screencast.com/t/IYZnAHswX For more details about featured image please check this topic: https://forum.tagdiv.com/topic/ideal-for-featured-images-size/
If you need further assistance please let us know.
Thanks!
Hi,
Thank you – Yes that does seem to be the problem. When I remove the slider, Block 15 works again. Is there any way to alter the width of the image slider, so that it fits? I can’t see any other way to implement it.
Thanks,
Hello amsam1979,
All the discussions are in the English language. Please try to follow the steps from here -> https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/ and you only have to edit your .htacces to introduce that code http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Hope this helps!
Thank you for the message!
Hi
Sorry for misunderstanding.
The above solutions works only when a category page it’s displayed. If you want to change the header ad for o post from a specific category then you need to use the in_category() function. Here is a basic example for caribbean and destinations categories on my side: http://screencast.com/t/NDVOIEvs1bg
<?php
if (in_category(array('caribbean','destinations'))){
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
}
else{
locate_template('parts/header/ads.php', true);
}
?>
This code will load a different header ad for all posts which belong to caribbean and destinations categories.
Note: if you want to change the ad for a post from a specific category the required function is in_category() but if you want to change it for a category page then you have to use is_category().
Hope this help.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi
You can add a specific class on the block from which you want to hide the row, in Visual Composer: http://screencast.com/t/MkIn5STfXU then use it in css to tarket only that specific row like in this example:
@media(max-width: 768px){
.page-id-358569 .custom-css-class .td_block_16 .td-block-row:last-child{
display: none;
}
}
Thanks!
Hello kylemichz,
I suppose that you are referring to the 1st footer template. This style has 4 sections and is designed to use predefined blocks on the three widget areas and an Info content section at the bottom. Unfortunately, the users do not have access to set it from the Theme panel but only from the code. If you want to disable the number of the posts from the Popular Category column, you have to change the code from the td_block_popular_category.php file, like this -> http://screencast.com/t/mI2ISuIkqI3 and the result you should see here -> http://screencast.com/t/JbGxaUjP For more information about our footer templates, please consult the documentation here -> https://forum.tagdiv.com/footer-templates/
Hope this helps and let us know how it goes!
If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
Hi.
Let’s try this another way. Our theme uses modules. They are the base element. Modules are used on their default behavior on category pages or the related articles section, where you can actualy select what module you want to display from the menu: http://screencast.com/t/Pu9yASEBRzZu As you can see in the theme files. there are more modules in the theme than the ones you can chose in the panel: http://screencast.com/t/tADdgqaPXp like the MX modules. They are used by the theme in set/specific places and cannot be used directly.
A block is simply a container, a box if you wish, in which we place one or more modules. These blocks are predefined and have these modules set to them. For example a block 1 is made up of 1 module 4 and 4 x module 6
http://screencast.com/t/q0k3tgZ8m9J
if you cannot refference what modules are used on blocks from the category tag list i exemplified above, you can use your browser inspector to see the classes for each module: http://screencast.com/t/aYjD5V5xs
I hope this helps.
I have message from google
Google has detected that your site has content that might benefit from an upcoming feature in Google Search results. This feature relies on Accelerated Mobile Pages (AMP) – small, lightweight HTML pages that are optimized to load very fast on mobile devices. Google will soon show valid AMP pages with special features in Google Search results. Compliant AMP pages on your site will be eligible to be shown in search results with these new features.
We invite you to become an early adopter of this exciting technology. The following steps will guide you through the process of creating AMP pages for your content.
i hope newsmag have design for Accelerated Mobile Pages (AMP)
Well, the CSS and Java in the page helps it load faster by NOT having to load external sources and helps to deal with the above the fold loading, and mobile loading. Some things work better inline than external these days.
In other words, some CSS and JS “inline” loads faster for above the fold (render blocking …) vs waiting for the entire separate file to load, hence why this is now donw, which was crazy talk in olden days.
“Critical CSS” should be loaded with the page itself, then supported elements “later.”
Tricky!
I’ve stopped using some plugins due to the extra CSS crap included and no way to disable, or allow the plugin to “inherent” theme CSS (e.g., <LI> and <UL> stuff).
I also hacked one plugin to remove their CSS and just put it at bottom of the style.css and shazam.
I feel your pain; actually dealing with this right now on another project which is NOT using TagDiv themes due to a long boring story.
I really hate the form scripts which load the FORM CSS on every page and not just the actual FORM page. Requires creating custom page called “form” and then manually putting the CSS for plugin on THAT page vs having stupid if/then on every site page to NOT load it conditionally which is also dumb for resource queries.
AUGH!!!!! (damn kite eating tree!)
Hey !
I have installed the theme but its not showing me any Blocks in Visual Composer. I am unable to created a custom styled homepage so can you please fix it asap ?
Hello,
This will not be an easy task as it will have to be added with css. The mega-menu sub-categories will have to be targeted using a child selector. For example:
http://screencast.com/t/PsP9L9UqNw
If you want to add particular icons for every menu item, you will need to use a code for every single menu item like so:
.menu-item-53 .block-mega-child-cats a:nth-child(4)::before {
content: "\f040";
font: normal normal normal 14px/1 FontAwesome;
margin-right: 5px;
position: relative;
}
The nth child is the number corresponding for every child of the main menu item.
Result: http://screencast.com/t/z4KXnbfhQW
You will also need the menu-item for the main menu to target them. you can get this class with your browser inspector.
I hope this helps.
Thanks.
Hi,
Unfortunately there is no such option. This means you will need just the latest post from 5 different categories. Unfortunately you cannot do that inside a single block element. The ‘latest’ sorting option will show the latest of all of the categories. You can only sort a block. Not every module inside of it. Sorry.
Thank you!
Thnaks for your reply, but actually that didn’t help. The info you show was of course known to me, it’s in the admin. But what remains unclear from the admin, the demo, and the documentation is how blocks and modules are related. In other words, what modules are used to create blocks, and in which way. Unless we know that, working with modules is like working in the dark, we don’t have a clue what effect tweaking a module in the admin has on the frontend.
I found old documentation with some helpful drawings that show exactly what I mean, but it’s only for a handful of blocks. In VC you can choose many more blocks. We work with blocks, not with modules.
I find the current setup very confusing. There are so many technical settings that have no apparent relationship with the output in the frontend.
Unless I miss something…
Hi
The theme wasn’t designed to support custom taxonomies in block’s filter. To achieve that you will need many customization in theme’s files and unfortunately I can’t provide a solution now. Basically you need to edit the td_data_source.php file and alter the query in order to have your custom taxonomies in filter: http://screencast.com/t/4P3AnaBK0
Please consider that this is a complex task which require advanced coding skills, also many customization and tests. If you can’t do this by yourself my advice is to look for someone which can help you with this or hire a freelancer to do it for you as we can’t offer any type of custom work at the moment.
Thanks!
Hi
You can use do_shortcode function in loop-single-2.php like here:
<?php echo do_shortcode('block's shortcode'); ?>
To get the shortcode add the block 7 into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/ij9Sbajz inside do_shortcode function.
Also you will need this code in theme panel > custom code > custom css: http://screencast.com/t/H9G6Yoeocg
.single .td-pb-row .td-pb-row .td-pb-span8{
width: 100%;
}
Hope this help!
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello,
You simply need to adjust the negative margin given to the block for the overlay effect on the desktop version: @media (max-width:767px){
.td-travel .td-travel-features .td_block_wrap{
margin-top: 0!important;
}
}
Now it should position properly on mobile as well.
Thanks.
Hi
To add a new custom ad you have to edit the following files like here:
– td_panel_ads.php – http://screencast.com/t/csyUpkoa – http://pastebin.com/v9xwLdQz
– td_block_ad_box.php – http://screencast.com/t/mRzwOa0Q5
– td_config.php – http://screencast.com/t/m3REo5pm
Result should be like here: http://screencast.com/t/FxYioNcpNS
This was just an example for custom ad 6. To add more custom ads follow the same steps but make sure you update properly the ad-spot ids.
Thanks!
Hello,
It seems that the image slider on the right of the block stretches it’s container over the block. Please check your page in visual composer and check if you have any double row’s or some custom positioning css that might affect the block. You can try to remove the slider and see if the block works and then try to implement it differently.
Let us know how it goes.
Hi
For each block the theme make a custom query depending by the filter set in Visual Composer. The query it’s made in td_data_source.php here http://screencast.com/t/qwy075xXq and the arguments for it are defined here: http://screencast.com/t/8P8ntnH8Nu To add a new sort order you have to edit td_config.php file and add your sort. You can add it either as a new field or simply as an option in sort list: http://screencast.com/t/jP8gMSDk Next step would be to generate the new sort in td_data_source.php by adding the required arguments to query.
Please consider that this is a complex task which require advanced coding skills, also many customization and tests. If you can’t do this by yourself my advice is to look for someone which can help you with this or hire a freelancer to do it for you as we can’t offer any type of custom work at the moment.
Thanks!
Hello,
You can follow this topic to see how you can display custom post types in blocks: https://forum.tagdiv.com/topic/cpt-ui-plugin/
I hope this helps.
Thanks.
Hi @gerry
Checking your site I found some errors in browser console. This errors are directly related with theme’s blocks that’s why the site is not displayed fine: http://screencast.com/t/DIRsU1DWWUHu Please make sure that you updated the theme according with our documentation: https://forum.tagdiv.com/newsmag-how-to-update-the-theme/ also during the update process deactivate all plugins then enable only Visual Composer and check the site again.
Theme’s code it’s tested and does not contains any malicious code so as @Chris suggested it may be a false positive. For more details about this please check this topic: https://forum.tagdiv.com/topic/virus-detected-in-the-theme-2/ While you install the theme consider deactivating the Avast antivirus as this may affect some of the required files.
Let us know how it goes.
Thanks?!
Hello mabrell,
For achieving that, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area. Below I gave you an example for module MX5. You have to implement this code for your modules that you are using in the theme and see how it works on your side. Here you can see the list to the modules used in blocks -> http://screencast.com/t/hd1pe4Mi
The code is ->
.td_module_mx5 .entry-title {
background-color: rgba(77,178,236,.7);
}
Hope this helps!
Thank your for the message!
Hello,
You can use the multiple category filter to achieve this. You will need the category id’s you can see here: http://screencast.com/t/pj4lwmr5CKqE and then you simply add your 5 category id’s in the block settings: http://screencast.com/t/qAbsmSlJ
Thank you!