- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- ApiPractical example – How to add a new Block and Module
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
Hi,
I’m trying to work out how to turn off the Smart Sidebar on one particular template (in particular, to stop it from scrolling with the content). Is there an option to do this or will I need to amend the PHP templates?
Thanks!
Hi,
yet another issue with Newspaper 6…
Since we made the update from Newspaper 5 to 6, when we have articles without featured image, an ugly “missing image” square displays on the home page (see at http://www.iphonologie.fr). We changed the post template to Type 5 and still have the issue.
Thanks for your help to get it solved.
Raphaël
Hello,
The newspaper theme is a bit different from newsmag as it does not include that specific template but you can recreate it on pages in visual composer, although it will look slightly different. You have to use the homepage post element like so – http://screencast.com/t/7bKQ4kx6 and this is the result – http://demo.tagdiv.com/newspaper/homepage-one-top-post/
Another way is you can add a background image to the row using Visual Composer settings and create something similar like the travel demo – http://demo.tagdiv.com/newspaper_travel/ – http://screencast.com/t/msgwHI0oB and customize it – http://screencast.com/t/ueYDvf2ic also you can add an extra class to the row and use custom css.
Thank you.
Hi,
Replied here – https://forum.tagdiv.com/topic/slider-full-page/
If you refer to the header template, there are some full width header styles – http://screencast.com/t/nSPqtxbNRMq when the background color/image is not used. When it is used the site will automatically switch to boxed version.
If you refer to the page content unfortunately the tag div block were not designed to be stretched using the Visual Composer row option, sorry. Like I said in the other thread I added this on our list but I cannot promise you anything.
Thanks!
Hi,
I’ve several custom post types. I would like the “Post Settings” on each one and for it to show up on the custom post type front end.
I’ve figured out how to add the “Post Settings” to each custom post types editing page but I don’t know how to replicate the changes on the front.
For example – http://beta.virtualfestivals.com/event/glastonbury-festival-2002/ – this is a custom post type and is using “Style 3”. I copied single.php and renamed it as single-event.php. I realise I could have copied and renamed single_template_3.php but was hoping for a more flexible solution.
Thanks,
JJ
OK, I have found it. The setting is not in Post Settings in my version of Newspaper (6.1)
You need to go to
ThemePanel -> Template Settings -> Page Template -> DISABLE COMMENTS ON PAGES
Hope this saves someone else some time.
OK, I have found it. The setting is not in Post Settings in my version of Newspaper (6.1)
You need to go to
ThemePanel -> Template Settings -> Page Template -> DISABLE COMMENTS ON PAGES
Hope this saves someone else some time.
Hi,
The theme has some predefined footer templates and you can set it from Theme Panel > Footer – http://screencast.com/t/7F5ipHhpX So this block(Editor Picks) is added directly in the footer template code – http://screencast.com/t/mQOv1TaK2JY you can set it only if you alter the code.
For Editor Pick is used block 7, so if you want you can use it in the page content, just add it using Visual Composer pagebuilder – http://screencast.com/t/V2IaDhC713 – http://screencast.com/t/nVzkaifXIR
You can check theme’s documentation – https://forum.tagdiv.com/block-settings-tutorial/ and we have also some video tutorial on youtube – https://www.youtube.com/watch?v=rgWqozuqmJk
If you want to add your own widgets to the footer area, just use a style that allow you to add theme from Widgets area, for example – http://screencast.com/t/6eANPEtB5gRD – http://screencast.com/t/e5OoEmIeXjd If you only want to translate Editor Picks, you can do this from Theme Panel > Translations section – http://screencast.com/t/zOwQz0WJj6
Hope this helps!
Im working with an advertisement company that needs me to change the posting settings for Template Style 11. Here is the information they sent me but I have no idea where to fix this. Need help:
We noticed that sometimes the flex code would populate the towers toward the middle, covering your content, instead of on the sides which is how it is suppose to load. This is the flex code as you have it on there now:
/* Flex */
cf_page_artist = “Insert artist variable here”;
cf_page_song = “Insert song variable here”;
cf_page_header = “.td-header-wrap”;
cf_page_element = “.td-main-content-wrap”;
cf_page_footer = “.td-sub-footer-wrap”;
cf_adunit_id = “39384221”;
cf_flex = true;
The highlighted section in the code tells our flex where your article’s content is, so it will expand around that. We would need you to make some slight adjustments to your CMS, because posts that contain videos are not outlined by the cf_page_element. Below, Steve our dev, laid out a solution to get around this issue. Please take a look and let me know if you are able to make these adjustments. Thanks.
the source code of this highlighted area looks like this:
<article id=”post-6248″ class=”td-post-template-11 post-6248 post type-post status-publish format-video has-post-thumbnail hentry category-gossip-grounds tag-kanye-west tag-kim-kardashian tag-kylie-jenner post_format-post-format-video” itemscope=”” itemtype=”http://schema.org/Article”>
<div class=”td-video-template-bg”>
<div class=”td-container”>
<div class=”td-pb-row”>
—
—
— so on
We proposed to add the class name, td-main-content-wrap, to the <article> tag, so our CF Flex Code knows it should expand the distance between the towers, to match the width of the <article> element – which is where the content lies.
The new source code would look like this:
<article id=”post-6248″ class=”td-main-content-wrap td-post-template-11 post-6248 post type-post status-publish format-video has-post-thumbnail hentry category-gossip-grounds tag-kanye-west tag-kim-kardashian tag-kylie-jenner post_format-post-format-video” itemscope=”” itemtype=”http://schema.org/Article”>
<div class=”td-video-template-bg”>
<div class=”td-container”>
<div class=”td-pb-row”>
Where do I go to change this? my site is http://TripleHQ.com if this helps. Thanks
Hi Andrei,
Sorry, for confusing you with my bad English. I meant the Comments Section.
But with your Reply I found a very simple Solution which does exact what I Need. And without the Need of replacing CodeSnippets in the Theme 🙂
By just deactivating the “Show SignIn/Join” in Newspaper Theme TopBar I got it like I want it to work.
I discovered that the “Show SignIn/Join” Modal Open Window Function handles also the Comments Section with the Modal Opening Function in the Template.
Maybe the Modal open Window for Login/Join could be seperated in future Updates of the Theme like:
a.) Enable/Disable – Show SignIn/Join – for TopBar
b.) Enable/disable – Show SignIn/Join – for Comments Section (if disabled here, the Original WordPress Code is working (in same way as for now when disabling the SignIn/Join Function in TopBar) and other Plugins like UserPro can do the Job with Registration/Login by Redirection Function to the Register/Login Page)
So the Owner of the Website has more variations without the Need of manipulating the NewsPAper Theme Code. Just my two Cents 😉
For me personally this Modal Open function is not neccesery cause I´m not a really Fan of it. Because of the fact that Mobile Handys showing the Modal Windows differently and sometimes if a User zoom in a Page the Modal Window are going invisible in some Scenarios.
With best Regards,
Karl
http://www.altenburg-net.at
-
This reply was modified 10 years by
kstockl.
Footer Template:
Please suggest which one is Editor’s Pick block? I have tried to follow the other links what you have shared already, but they are of no use or at least I could not understand it.
How to add it back if got moved from Home Page?
Honestly, this particular section on Home Page is not user friendly. Other things are so easy to set up.
Also, please suggest what each block has, as I always struggle and waste time in searching it.
Also, is it possible that we can completely remove the NAME : Editor’s Pick and drop other widget there?
Hi,
The theme doesn’t have such a header style, you can achieve this only with custom modifications to a header template or you can try to use a full logo header style – http://screencast.com/t/syHryQiixTj and full image for logo – http://screencast.com/t/g9pNJ9Y9Z9UU
If you you want this only for pages you can add a background image to the row using Visual Composer settings and create something similar like the travel demo – http://demo.tagdiv.com/newspaper_travel/ – http://screencast.com/t/msgwHI0oB and customize it – http://screencast.com/t/ueYDvf2ic also you can add an extra class to the row and use custom css.
Thanks!
Hi,
1. I’m not sure what you mean – http://screencast.com/t/2yMI0sz5GhB You can provide a link so I can take a look.
2. I have checked this on my side and no blue background appears – http://screencast.com/t/bq58rmhs Do you use speed booster plugin? It may cause an issue like this because it moves the css and js at the bottom of the page structure so that the page will load faster, this is why the theme default color appears first then changes, because of the cascading property of css. A solution is to change the color directly into css stylesheet file.
3. Replace your code with this custom css – http://screencast.com/t/qCFe4hxeU4t
.sf-menu .td-normal-menu li:hover > a {
padding-left: 20px;
background-color: none;
border-left: 2px solid #0072bc;
transition: padding .3s ease-in-out;
border-left: 2px solid #0072bc;
}
4. The submenu doesn’t have a fixed width, it count the length of the items – http://screencast.com/t/gMQ6eFVzos A solution will be to add a min-width, but also you need to change the position – http://screencast.com/t/s81lAXTd
The icon has an absolute position you can also adjust it if you want – http://screencast.com/t/Xtfm2KEXj
5. This is the thumb size used by template 3. Like you can see it is used on more templates and also on smart lists. You can add a new thumb size in td_config.php – http://screencast.com/t/AY145YSX and the use it for template 3 – http://screencast.com/t/eWWuLpdAP Please regenerate your thumbs if you make some changes – https://forum.tagdiv.com/using-the-theme-with-existing-content/
Thanks!
Hi,
On the category page, i am using category template 5.. how can i remove “featured posts” & “By review score” from the dropdown sort.
Thanks
Hi, I’ve a big problem. My newsmag template, that I bought yesterday doesn’t run on my wordpress 4.3. With my hosting assistance I made a new installations but I can’t customize it. When I click customize button… it open the new page but doesn’t load it. Hoe can I do?
I activated the template with the license and I’ve installed the plugins
Thank you
Hi,
you can set it in the theme panel, I think you’d want style 6 and 8:
https://forum.tagdiv.com/category-templates/
This is for the categories.
For your front page, it kind of depends if your front page is a page made with visual composer or if it is the “blog page” with the posts.
Cheers!
Hi,
Sorry for delay we don’t work on weekends! We answer to the most oldest topics so if you add a new replies we get later to your topic.
Newspaper 6 is a whole new theme that is released for free for all of our existing customers so an update from 4 to 6 may cause the same issues as switching to another theme (but we did try to maintain compatibility where ever possible). We also changed the page templates I guess that you have used the default page template that allowed sidebar automatically to your content. Unfortunately in version 6 if you use the default or pagebuilder with latest articles you have to add the sidebar using pagebuilder. Try to change the template to pagebuilder with title and see how it looks – http://screencast.com/t/F85RTexAME
Also the block title style 1 that you used in previous version doesn’t exist anymore in version 6, that’s why appear this background issue for block title and you have to edit each homepage block and change the background color – http://screencast.com/t/7qRvDzjc
The VC frontend editor is deactivated from the theme files, as it doesn’t work with the theme’s blocks. You can activate it if you comment/delete this code – http://screencast.com/t/o8tlhjUyh
We tried to find the best way for the transition(the script), but some issues may appear. We are very sorry for all the problems that the update caused and if you cannot use the theme, we can arrange for a full refund(send an email at contact@tagdiv.com with you request,also paste a link to this topic and we will explain the procedure).
Sorry for inconvenience!
-
This reply was modified 10 years by
Alin [tagDiv].
Hello TagDiv,
I’m trying to customize some things, mostly on the main navigation for now but I’m facing some problems.
I’ve made all my changes in the custom css part of the theme panel.
Here are the problems:
– 1 : http://www.screencast.com/t/9Jn5kT1NWhen – I’ve set the current color to the custom css, this problem appears when a sub-menu item is current page.
– 2 : http://www.screencast.com/t/beDa7XN0 – A blue background still appears for 1-2 seconds after the mouse hover switch to another menu item.
– 3 : http://www.screencast.com/t/UACpiaAG2d6Q – All the hover effects are also applied to the sub menu item which is not on mouse hover yet, I want these effects but only on mouse hover.
– 4 : http://www.screencast.com/t/PyrTFXEIO1 – Which line I should add to the custom css to make the sub menu a little bit longer ? Is changing values (right value and add some left/right margin) to “.sf-menu .sub-menu .td-icon-menu-down” correct ?
– 5 : I’m using Post Template style 3 as a Default post template, I would like the featured image on top of the post to be 300px height. How can I add a new thumbnail size and set it to be used for the post template ?
Here is a copy of my custom css : http://pastie.org/pastes/10386971/text?key=uc8xosiq02o5rbhhpe21lq
Thank you for your time and help.
Hi,
The CATEGORY TOP POSTS STYLE setting is used only for category template. For frontpage you have to add the Big Grid using Visual Composer pagebuilder – http://screencast.com/t/90xgJ9aD1s
Please check documentation – https://forum.tagdiv.com/block-settings-tutorial/ also you can check our youtube channel there are some video tutorials like this one – https://www.youtube.com/watch?v=rgWqozuqmJk
Thanks!
Hi
I ve made a mega page menu on latest version of your template but is not working on mobile menu. Why?
Tks
Roberto
I guess from trying this infinite scrolling only works on home page? I went to the blog page and edit page and using visual composer with block 12 and set the load more button and it did nothing, cause the global blog template in the theme panel just shows up with pagination still on the bottom of the page.
I saw nothing that can even be seen in the theme panel as to set for load more or infinite loading on the blog template. No way to disable the global settings to use infinite loading from VC on the blog page. So the infinite scrolling for blog page is not available, but I don’t want to add the blog page thing to the home page, because I like the way the home page with blocks are with different categories.
I just don’t see any way to make the blog page a infinite scroll. None of the plugins from WordPress repository even does it. Unless, I am doing something wrong. I just can’t get that on the blog page. I think that is what the other thread is about too.
Hello,
I tried this code and ads show it.
if (!is_page_template( 'nativead.php' )) {
$buffy .= '<div class="td-a-rec td-a-red-id-' . $spot_id . $align . ' '
. ((!empty($ad_array['disable_m'])) ? ' td-rec-hide-on-m' : '')
. ((!empty($ad_array['disable_tl'])) ? ' td-rec-hide-on-tl' : '')
. ((!empty($ad_array['disable_tp'])) ? ' td-rec-hide-on-tp' : '')
. ((!empty($ad_array['disable_p'])) ? ' td-rec-hide-on-p' : '')
. '">';
$buffy .= do_shortcode(stripslashes($ad_array['ad_code']));
$buffy .= '</div>';
}
Hi,
The theme doesn’t have an option to display to ads side by side for your post pages. You will need custom modifications in the code to achieve this, for example you can add the code in Theme Panel > Ads section in custom ad spots that you want yo use – http://screencast.com/t/LpPAVOv0 and use do_shortcode function in the post template that you use – http://screencast.com/t/ruQnSe1J and adjust the banners using custom css – http://screencast.com/t/eDF1dtDZ
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]');?>
.td-a-rec-id-custom_ad_1, .td-a-rec-id-custom_ad_2 {
float: left;
margin: 0 0 20px 20px!important;
}
Please note that if you use adsense you have to change a with g – .td-g-rec-id-custom_ad_1, .td-g-rec-id-custom_ad_2
If you don’t know how to do it I suggest to hire a professional developer, as we cannot provide custom work, sorry! I have provided an example how it can be done(I did not take time customize them).
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
Hi,
The only way to achieve this on homepage is to use a page template with latest articles – http://screencast.com/t/7TZqzihxB1T Also you can translate Next/Prev in Theme panel – http://screencast.com/t/lzxw6EP0cQ
Thanks!
Hi,
I have problem with my WordPress and Newspaper 6. Tuesday morning I’ve spoted that I can’t access to wp dashboard or any url that starts with /wp-admin/ so basicly whole dashboard. All I have is fully functional frontend. I’ve reuploaded wp-admin directory on server, rename plugins directory, reuploaded themed and nothgin changed. I’ve managed to login via /wp-login.php but after redirection to wp-admin it’s still blank.
While I’ve renamed my theme name frontpage became blank as well so it didn’t switch to default template.
This is log I get from my server admin:
http://pastebin.com/N5Ht8kXb
It saying someghin about admin-ajax.php and newspaper theme so maybe there is some kind of conflict.