- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Hi Catalin,
OK got it, thank you for the example.
I like to have multiple images as background with an fading effect between images. Example:
http://preview.ait-themes.club/index.php?t=ristorante
I think it is not possible via default Newsmag options. Can this be made with some simple changes or via plugins?
Thanks,
Vitor
Hello heisenberg234,
Yes, it is okay in your case. Above, I gave you an example with do_shortcode because this kind of method offers you the way to add the ads anywhere on the site and you can use it when you do not have an option from Theme panel.
If you need only 2 columns in your post content, you can set it from editor, like this -> http://screencast.com/t/bhNecroT and if you need more than 2 columns, you have to create the code from Visual Composer editor and then you have to copy/paste the code in the HTML source of the post, like this -> http://screencast.com/t/UJfUJPnz -> http://screencast.com/t/rnuVk21z6oQj -> http://screencast.com/t/hlK5SRP4SoA
and the result you should see here -> http://screencast.com/t/bo0oqWUQcb
Hope this helps!
Thank you for the message!
Hi,
Please provide a link to your website and an example of a post or a couple of them that are not getting returned in the search.
Thank you!
Hi
The indicated site use a infinite scroll model to load posts. Unfortunately with our theme this is not possible at the moment. This is a complex task which need lots of customizations in order to be achieved. It will need to be custom made and unfortunately is not a ‘walk in the park’ from any point of view you look at it.
First must be chosen a way to load the next posts and here are two main ways:
– load all posts when the page it’s loaded first time, which is not very good for page-speed
– load posts when the users scroll-down, which means additional queries to the database.
Regarding the video this is not an much easier task either.
First you need to understand how page structure looks like when a sidebar it’s used. There are two main containers in place: a span 8 and a span 4. What you’re trying to do is to move a part of content from one container to another when user scroll down. This is not possible at all because after the html it’s generated it can’t be changed within same session. In your example the video and text are in the same container. The css applied only change the position, which is possible, but not affect the html. You can achieve a similar result using our theme but it’s required a custom post template with a custom structure.
I mentioned in my previous replies that we can’t offer any custom services at the moment. If you’re not aware of the steps you need to take in this regard you can always hire a developer or a freelancer from sites like http://studio.envato.com/ to do this for you
Thanks!
Hello kapunas,
Unfortunately, our theme does not have such an option for your desire. In order to achieve as you wish, you have to do some additional customizations to do that. Below I gave you an example of transition for the mobile menu. If you want to develop in this case and you are not aware of the steps in this regard, please consider hiring freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
The code is ->
.td-mobile-nav-wrap, .td-content-wrap {
-webkit-transition: left 2s;
transition: left 2s;
}
Hope this helps!
Thank you for the message!
Hi
The like button works like this:
– if you share a post from your site on fb all likes received by that post will also be visible on your site. For example let’s if a post have 10 likes on facebook that number will also be visible on your site.
– if a visitor like your post on your site, not on facebook, the number will also be increased. Hoover if a post have 10 likes and you share it on facebook those likes won’t appear on facebook, only on your site.
Hope this helps.
Thanks!
No matter if I choose another block (block 2 for example) and it doesn’t matter what settings do I use, I still have that white gap there.
Is there something I can do??
And I got a referral link for you http://codepen.io/carpenumidium/pen/dYYwQp for the coding part. Go here and you can see the coding example. I just need to know that where should i modify to activate this in the theme. Please help when you are free. Happy with your support. Thanks in advance.
Dear Andrei,
Thanks for your reply. But I was not asking about the related articles. I gave you an example link and you may see there how the next article is shown, actually its the full article so that an user doesn’t need to clink on a article to read it. Its single.php / post.php setting related work. So that if a single post is clicked so the related article(full articles) are shown below.
And another issue is that the video position switching. I was asking this not as a customer support. I was wondering if you can help me to do so, I mean at least u can say which files i need to edit to do that effect. Just needed a little guidance.
And forgot about the weekend 😀 . No issues at all.
Thanks again.
I want to either create a new page template or to modify an existing template so it doesn’t show ads in the body
For example, I use Post Style 5 as my default right now, and I want to use Post Style 3 for stories that have a large image to display. There may be some text below them and possibly a button to go to the next one.
In Style 5, I have an ad block in the top left corner, but I don’t want that in Style 3.
Also, in Style 5, I have a large block of image ads above the footer, but I may not want them in Style 3
How can I turn them off?
I saw you have previously talked about this, but it must have been before Newspaper v.6 and the instructions were in a screenshot that no longer exists.
Buna,
M-am uitat in consola si nu am vazut nici o problema… Cred ca este o eroare de cod pe undeva, spre exemplu:
HEADER STYLE functioneaza pot selecta un header de acolo, salvez si totul este in regula. Top bar, nu, daca dezactivez ceva, merge, de activat nu mai merge. Asta se intampla si la categorii, schimbarea pozitiei sidebarului…
Cu stima,
Vinturis Gheorghe.
I saw in the demo an example of a “Category Top Post Style for 3 post”, I tried all manuals but do not get it, someone who already has implemented could supply the files please. I have been asked that for my page and Newsmag not bring this integrated design like the others. 🙁
Hello,
I want to make the page title text smaller for when you are searching under a category. Here is an example:
http://www.screencast.com/t/Nsjmocs8bM
Thanks!
Carly
Hi, i was wondering if there is any way of changing the menu on a mobile from the header style to the sticky version.
For example i want the <div class=”td-scroll-up td-scroll-up-visible”>
to replace
<div class=”td-header-wrap td-header-style-9″>
Hope this makes sense.
Thanks
Hello heisenberg234,
If you want to insert the ad under the main menu bar, you have to use the do_shortcode method. Please follow the below tutorial ->>
This is the right order to display the ad using do_shortcode function:
I will use custom ad 1 as example:
– paste the ad code in theme panel > ads. custom ad 1: http://screencast.com/t/I4fGyfFoyc
– get the ad spot’s shortcode. To get the shortcode add an ad box into a blank page then switch in back-end editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
– paste the code which renders the shortcode in the file corresponding with the header style used.
For example, if you’re using header style 1 the file which must be edited is header-style-1.php http://screencast.com/t/itasx4W4T – http://screencast.com/t/5vAMrfFwW
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Thanks!
Hello,
Css can help in this matter. You can assign an extra class to the specific section like so: http://screencast.com/t/lQaF3icRhal
And then simply hide the content using the class you added. In my example I would use this code:
.customtab1{
display:none!important
}
However this will not hiode the tab itself. Only the tab content. If you want to hide the tab as well, then you need to use more advanced css selectors:
It will not require a custom class for this one.
.vc_tta-tabs-list :nth-child(2){
display:none!important
}
This part: ‘nth-child(2)’ represents the number of the tab you want removed.
Thank you!
Hi,
we have no reports of this yet, but your error seems to point to visual composer clearly. Sometimes plugin updates get released like this (SEO yoast is the best example of this. They release several dot revisions until an update is stable) We will update visual composer again in the next theme version though.
Thank you!
Hello, i need to add some rewrite rules but no one of them is works.
add_action( 'init', 'new_rewrite' );
function new_rewrite()
{
add_rewrite_rule('test-drive(/([^/]+))?(/([^/]+))?/?', 'index.php?page_id=172816&var1=$matches[2]&var2=$matches[4]', 'top');
}
this code works in many themes and sites? why it not works here?
Thanks!
Hello willysawa,
I cannot provide you an accurate response because I do not know over on what kind of header style you are referring to in this case (‘I discovered the hover on the menu is not fully covered’). Unfortunately, our theme does not have such an option to achieve the main menu similar to your example, sorry! Please notice that the theme has a lot of the header styles, like this -> https://forum.tagdiv.com/header-styles/ which you can use them in your project. Also, please notice that if you want to change the functionalities of these or if you want to create others, is needed additional customizations that involve custom work.
If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thank you for your understanding!
Hi
Are you using a theme version above V 2.2.1? In this case you have to use a newer plugin’s version which can be found here: https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/ More details about this plugin can also be found in our documentation: https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
Let me know how it goes.
Thanks!
Hi
This is the right order to display the ad using do_shortcode function:
I will use custom ad 1 as example:
– paste the ad code in theme panel > ads. custom ad 1: http://screencast.com/t/I4fGyfFoyc
– get the ad-spot’s shortcode. To get the shortcode add an ad box into a blank page then switch in back-end editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
– paste the code which render the shortcode in the file corresponding with the header style used. For example if you’re using header style 1 the file which must be edited is header-style-1.php http://screencast.com/t/itasx4W4T – http://screencast.com/t/5vAMrfFwW
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi
adidas1766 as @Chris pointed you can use one of theme’s blocks to display most recent posts with a thumb. For example you can use block 3, chose in it’s filters latest posts: http://screencast.com/t/wuUGrwo3kZ9 and you will have this result: http://screencast.com/t/HivdPy75n This is just an example, but you can use any block in sidebar.
Thanks!
Hi
1. I’ve checked your homepage and noticed that all posts displayed in module 15 have the Continur button added. Are you trying to add this button also for posts displayed in sidebar?
If this is what you want to achieve then you can add in sidebar a block which have Read More button included. For example you can use block 12 in sidebar do achieve a layout similar with this one: http://screencast.com/t/FS2qz7uclX0
If this is not what you mean please provide more details about what you’re trying to do.
3. Are you referring at more article box: http://screencast.com/t/UzLDPYifxX If you want to hide that box on mobile use this css in theme panel > custom code > custom css:
@media(max-width: 767px){
.td-more-articles-box {
display: none;
}
}
Thanks!
Chris
Thanks for all help – it may help others – these page rules if using CloudFlare fixed errors – now all error-free for AMP
CloudFlare Page Rules for AMP – before a fix comes from CloudFlare
Thanks again
Pat