- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperDesign your post pages using the Default Templates
- NewspaperPage templates
- NewspaperCreate a form contact page
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewspaperHomepage – How to build and set it
- NewspaperPost templates
- NewspaperDefault post templates
- NewspaperCategory templates
- NewspaperPost template ads
- NewspaperSingle External Shortcode and External Shortcode
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperModules Builder in Newspaper Theme
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperCreate a frontend submission form
Hi,
For some reason get_the _time function take the custom post date also in the sidebar. A solution it will be to leave the default sidebar for this custom posts and change sidebars for all other categories, posts, pages…
Also use this custom css to hide the date only for that custom posts: http://screencast.com/t/l6xp0psI1
.single-event .entry-date {
display: none;
}
Also please read plugins documentation maybe there you ca find some details about plugin’s post templates.
Hope this helps!
Hi and thanks in advance,
I updated the theme a few days ago, I notice i see a warning in chrome:
https://support.google.com/chrome/answer/1342714
When i check the console I see many errors:
element.style {
}
.td-content-wrap {
position: relative;
top: 0;
left: 0;
}
* {
line-height: inherit;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div {
display: block;
}
Inherited from div#td-outer-wrap
* {
line-height: inherit;
}
Inherited from body.page.page-id-201.page-template-default.logged-in.admin-bar.emergency-room-near-me.white-menu.wpb-js-composer.js-comp-ver-4.3.5.vc_responsive.td-boxed-layout.customize-support.td-js-loaded
body, p {
font-family: Verdana, Geneva, sans-serif;
font-size: 13px;
line-height: 21px;
color: #222222;
}
body {
visibility: visible !important;
}
* {
line-height: inherit;
}
Inherited from html.js_active.vc_desktop.vc_transform
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
* {
line-height: inherit;
}
Pseudo ::before element
*:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
Pseudo ::after element
*:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
position0
0margin‒
‒border‒
‒padding‒
‒1349 × 2933‒
‒‒
‒‒
‒‒
‒
.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1Z.Cb
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&su…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400it…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…&srr=1&fu=16&bc=1&ifi=1&xpc=J8rlV6L4Gn&p=http%3A//bnearme.com&dtd=65&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Droid+Sans%3A400%2C700%7CDroid+Serif%3A400%2C700%7CArimo%3A400%2C700%7CVollkorn%3A400%2C700’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&su…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400it…tin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic’. This request has been blocked; the content must be served over HTTPS.
ads?client=ca-pub-8899869417109027&format=300×250&output=html&h=250&slotname=9856088599&adk=1582781…:1 Mixed Content: The page at ‘https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-88998694171090…ppjl=u&fu=16&bc=1&ifi=2&xpc=58Di0bRcQt&p=http%3A//bnearme.com&dtd=99&dpt=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Droid+Sans%3A400%2C700%7CDroid+Serif%3A400%2C700%7CArimo%3A400%2C700%7CVollkorn%3A400%2C700’. This request has been blocked; the content must be served over HTTPS.
s:1 Refused to display ‘https://googleads.g.doubleclick.net/pagead/drt/si?p=CAE&ut=AFAKxlQAAAAAVRBX…rh_k2nZ4nzX_yjto5JFX3sLi7uWdOjAhxyOfGViNG7bZ4YUFOl9VD1ZCFceKTpxq0UMQ&dpt=1’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
s:1 Refused to display ‘https://googleads.g.doubleclick.net/pagead/drt/si?p=CAE&ut=AFAKxlQAAAAAVRBX…acem6sxibGmFktPY71WwUf7-Eda_J-Dy7E47A8Yvf5_z1MCxzr5gbuezX2GhvV_xk1Gg&dpt=1’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
s:1 Refused to display ‘https://googleads.g.doubleclick.net/pagead/drt/si?p=CAE&ut=AFAKxlQAAAAAVRBX…Cw4M8RFO0VrdEpnaVvnBMGNFGEmzlklJK14ZYE27_I3EFFXlR8YsSWvrwpmC0Z-vnZZQ&dpt=1’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
my site is now behind an ssl and I dont use any external plug in in this pages.
any help would be appreciated.
.
Hi,
You don’t need to select a template and it’s not necessary to create a page, you could access the forum by adding /forums to your url (ex, http://www.yoursite.com/forums), if you still want to create a page you can doit like this – http://screencast.com/t/GemPXMcO7gD3
Thank you, Emil G.
Hi,
@forra Please provide more details about your new custom sidebar, how did you created? Everything disappear from the widgets section from your sidebar or this sidebar is not displayed on your page?
Please follow our documentation: https://forum.tagdiv.com/sidebars/ and try this without any plugins active, leave just Visual Composer active and clear cache.
@daicadung Please create your custom sidebar and set it to appear from Theme Panel > Template Settings: http://screencast.com/t/O1fV6rKaoq and also add widgets to it: http://screencast.com/t/P7SQGmmQnGT9
Hope this helps!
Hi,
I have problems with installing bbpress forum. During creating page FORUM I have only three options to choose from template though I have bbpress plug in installed
Thats other…
This is my website source code:
<script>
var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
var td_ajax_url=”http://www.xxxxx.com/wp-admin/admin-ajax.php”;
var td_get_template_directory_uri=”http://www.xxxx.com/wp-content/themes/Newspaper”;
var tds_snap_menu=”snap”;
var tds_header_style=”6″;
var tds_mobile_swipe=””;
var td_search_url=”http://www.xxxxxxxx.com/search/”;
var td_please_wait=”Lütfen bekleyiniz…”;
var td_email_user_pass_incorrect=”Kullanıcı adı yada şifre yanlış !”;
var td_email_user_incorrect=”Email yada kullanıcı adı yanlış !”;
var td_email_incorrect=”Email yanlış !”;
var tds_more_articles_on_post_enable=”show”;
var tds_more_articles_on_post_time_to_wait=””;
var tds_more_articles_on_post_pages_distance_from_top=”0″;
var tds_theme_color_site_wide=”#ff4fb8″;
</script>
Problem is here !
Hi,
Please deactivate all plugins, leave only Visual Composer plugin active also empty cache and check if the issue is still there. If it is not please activate your plugins one by one and which one create this issue. Also if you have custom modifications to the page template or footer files please check it. Let me know how it goes.
Thanks!
This is interesting: It’s not the main issue that http videos are not shown in a https website (in Chrome and FF), but it’s because the http video is loaded in an iframe!
_Explanation:_
There’s a difference between active mixed content and passive mixed content. Mixed passive content is img – audio – video – embed and is safe to show. Iframe is not. Also script is not.
Mixed Active Content is content that has access to all or parts of the Document Object Model of the HTTPS page. This type of mixed content can alter the behavior of the HTTPS page and potentially steal sensitive data from the user. Hence, in addition to the risks described for Mixed Display Content above, Mixed Active Content is vulnerable to a few other attack vectors.
See https://developer.mozilla.org/en-US/docs/Security/MixedContent#Mixed_active_content
It would be best if https support is all over in the theme. But from a content/visitor perspective the solution would also be to replace the iframe embed from the featured video template. Is that an option?
-
This reply was modified 11 years by
fiftyfifty.
Hello!
I have just tried to make a changes in Translation page in Theme panel, but it can’t save any changes.
All other savings (except Translations) work properly, i.e. saving changes in Template settings, Categories…
Hope, you can help me.
Tibjan
I can’t figure out why (most of) my category pages don’t display posts (I’ve chosen the M6 design on the template and the categories). They used to show the slider (still with “no posts to display” shown under the slider), but I don’t want the slider, just the individual posts under the specified category to display.
Now that I’ve disabled the slider, nothing displays (at least on the ‘Casa Grande’ category … for some reason, the ‘Locations > Eloy’ category shows the slider, but again without individual posts).
See example: http://www.snowbirdbuzz.com/category/retirement-locations/casa-grande-arizona/
Any idea why?
Thanks
Hello,
I already added the code but the theme still showing the banner in single page. Any idea to fix this little issue?
The URL is: /wp-content/themes/Newsmag/parts/header/header-style-2.php
<div class=”td-header-container td-header-wrap td-header-style-2″>
<div class=”td-header-row td-header-top-menu”>
<?php locate_template(‘parts/header/top-menu.php’, true); ?>
<?php locate_template(‘parts/header/top-widget.php’, true); ?>
</div>
<div class=”td-header-row td-header-header”>
<div class=”td-header-sp-logo”>
<?php locate_template(‘parts/header/logo.php’, true);?>
</div>
<div class=”td-header-sp-ads”>
<?php if (! is_single()){
locate_template(‘parts/header/ads.php’, true);
}?>
</div>
</div>
<div class=”td-header-menu-wrap”>
<div class=”td-header-row td-header-border td-header-main-menu”>
<?php locate_template(‘parts/header/header-menu.php’, true);?>
</div>
</div>
</div>
Hi,
Not sure how your would work as i haven’t experimented with this. You could give it a try although I suggest you use a plugin for this.
To use full width of the page you need to place the comments template inside a div container which uses the span12 class, like in this case without sidebar: http://screencast.com/t/QqlloLsZ6yD
If you really need to implement this in the theme without the use of a plugin I suggest you get some to help you with this as you need additional customization for this and we cannot provide custom work at this moment. Sorry!
Thaks
Hello again,
I’m using Header Style #2, the file is header-style-2.php and i made te modifications but doesn’t work fo rme, please check the entire code:
<div class=”td-header-container td-header-wrap td-header-style-2″>
<div class=”td-header-row td-header-top-menu”>
<?php locate_template(‘parts/header/top-menu.php’, true); ?>
<?php locate_template(‘parts/header/top-widget.php’, true); ?>
</div>
<div class=”td-header-row td-header-header”>
<div class=”td-header-sp-logo”>
<?php locate_template(‘parts/header/logo.php’, true);?>
</div>
<div class=”td-header-sp-ads”>
<?php if (! is_single()){
locate_template(‘parts/header/ads.php’, true);
}?>
</div>
</div>
<div class=”td-header-menu-wrap”>
<div class=”td-header-row td-header-border td-header-main-menu”>
<?php locate_template(‘parts/header/header-menu.php’, true);?>
</div>
</div>
</div>
I need to disable the header ad in the post pages, i hope you can help me,
Thanks
I’ve noticed that both my tags and categories pages don’t have the correct style sheet attached to them. They aren’t rendering properly. I have already set the templates in the Theme panel. Here’s an example: http://www.savoredjourneys.com/category/food/
What might I do to fix this?
Hi,
I’m not sure what header style do you use but to hide the banner only on post pages please add this condition in your header style file for example if you use header 7: http://screencast.com/t/BStDIFBZ
<?php if (! is_single()){
locate_template('parts/header/ads.php', true);
}?>
Result:
Homepage: http://screencast.com/t/sZ19VIbbieZy
Post: http://screencast.com/t/MfecsLyCiB
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Unfortunately the category page template can’t be built via VC page builder therefore you can’t use blocks there as blocks can be added via page builder only or as widgets on sidebars.
You could do this by alter the category template and adding a condition as “when category X is called” your custom layout and blocks load instead of the loop posts or besides them. You can use the do_shortcode() functions to add the block on the category page and customize them via VC page builder.
Other way would be to use the page builder and create the page using VC then add a menu item and set the custom page to it.
Either way this would not be easy and you’d need custom modifications to theme’s code so I suggest you get a freelancer or hire a developer to do this for you if you don’t know how to do it by yourself.
Thanks
Hi,
The category pages come from wordpress, we just used a template and some style to make them fit on the theme design. You could read about category templates here – http://codex.wordpress.org/Category_Templates
For the moment we don’t plan to change the behavior of the categories, if you need something else i suggest that you hire a professional to modify the code for you. We would have gladly made it for you but for the moment we cannot offer custom work, sorry for this.
Thank you, Emil G.
hello,
after updating the template I have a problem with mobile menu. http://prntscr.com/6h0ld6
http://zator24.pl page
greet.
sorry … hit return too quick…
see theme docs link – RIGHT SIDE of this page 🙂
page templates
https://forum.tagdiv.com/post-templates/
modules
https://forum.tagdiv.com/modules/
blocks
https://forum.tagdiv.com/blocks/
In the full theme download there is also a photoshop file showing the overall “page structure.
Hope that helped!
Chris
Hi FiftyFifty,
When you updated the theme did you do it via FTP? If you did, it wont work properly.
As Chris suggested, you need to do the update as per his guide, even if you didn’t do it by FTP it’s worth going through it again just to be sure.
Add a new theme (any) to act as a temporary
Delete the old theme in wordpress back end
Delete the VC and social counter plugins
Clear all caches including browser
Disable all the other plugins
Reload the theme via wordpress uploader and activate
Upload the plugins manually from the theme download file not from the on screen message in the plugin page
Activate all plugins
Test again
If that doesn’t do it go back to the wp_booster/td_video_support.php file and check very carefully that you got all the http URL’s some are easy to miss. Chris had said don’t do the youtube shortlinks but I’ve done em all and it works still so I’m kinda hoping it hangs together for a minute.
In your post, don’t forget to tick “video” in format and select style 8 from the post templates, I use the full URL from youtube and enter it into the sidebar
If you are adding the video player block to the page you will have to fill in all of the fields and add a video to it for it to show correctly on the page, you don’t add the full URL though just the series of letters and numbers at the end part of the URL
If all of that fails you probably need to go to your hosting provider and ask them to add a php.ini file and switch on allow_url_fopen = on
After a whole day of trying to find out what was wrong I went back to the server people and asked them if the allow_url_fopen was set to on and he came back with this
“I placed some code in your public_html folders .htaccess file to make the php.ini file work”
Real helpful that…..
So it was in fact the server that was the problem but also the theme should shoulder part of the blame as it’s not configured for SSL and that isn’t made apparent when you buy the theme, I’d also like to add that while TagDiv support and Chris who I understand doesn’t work for TagDiv are very helpful none of the solutions to these basic problems are presented in a coherent way.
Searching several thousand questions on a forum isn’t the best bet because some of this stuff needs to really be done in an organised fashion. More documentation is probably needed and to be fair I will probably put something together to add to the forum just for people who are stuck with configuration and SSL issues but I’m no expert so could end up doing more harm than good?
Anyway, all is working so that at least one satisfied customer.
Let me know how you get on
Hi,
You can leave post views enable from Theme Panel > Post settings: http://screencast.com/t/q81kFODmHuR and use this css code to hide it on frontend post page: http://screencast.com/t/rT3Qv7IH1 or you can comment(or delete) in code if you edit post template that you use: http://screencast.com/t/nWR3dMIL
You and your friends can see the post view in backend: http://screencast.com/t/pIF0XErmwQ
Hope this helps!
Hi,
Please set sidebar for each category to default from Theme Panel > Categories > each category: http://screencast.com/t/qjFq3aPl and you only Template settings for post and categories: http://screencast.com/t/TJjyeu6Slsoy
Result:
Category page: http://screencast.com/t/MQa6viuJEmr
Post page: http://screencast.com/t/bd7Ty5hY
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
HI,
first off all the CSS is working only if i use any widget from the template. But on the home page http://www.edurozrywka.pl i added widget form Event Manager plugin and the border is not visible. This widget is last one on the home page and it has the name POLECANE SZKOLENIA.
Smart scroll is not working on any other pages that home page and blog. Here are samples:
http://www.edurozrywka.pl/szkolenia-i-rozwoj
http://www.edurozrywka.pl/o-firmie/referencje
http://www.edurozrywka.pl/o-firmie/zespol
Thanks is advance for the help.
One more thing.. Is this also possible with the homepage? I’m using the big featured post from template 6 I believe and I have set it to “unique articles” on the page settings but the sidebar shows the featured homepage image. Is there a way to hide that as well?
Cheers!
Hi,
I’ve added two custom blocks in my Newsmag child theme using your “td_api_module” and “td_api_block” class inside my functions.php:
td_api_module::add('td_module_17',
array(
'file' => get_stylesheet_directory() . '/includes/modules/td_module_17.php',
'text' => 'Module 17',
'img' => get_stylesheet_directory_uri() . '/images/panel/modules/td_module_17.png',
'used_on_blocks' => array('td_block_17'),
'excerpt_title' => 12,
'excerpt_content' => '',
'enabled_on_more_articles_box' => true,
'enabled_on_loops' => true,
'uses_columns' => true, // if the module uses columns on the page template + loop
'category_label' => true
)
);
td_api_block::add('td_block_17',
array(
'map_in_visual_composer' => true,
"name" => 'Block 17',
"base" => 'td_block_17',
"class" => 'td_block_17',
"controls" => "full",
"category" => 'Blocks',
'icon' => 'icon-pagebuilder-td_block_8',
'file' => get_stylesheet_directory() . '/includes/shortcodes/td_block_17.php',
"params" => array_merge(
td_global::get_map_filter_array(),
td_global::get_map_block_array()
)
)
);
I’ve added this module and block using the init-hook. The module then shows up inside the theme panel, e.g. categories. But “block 17” doesn’t appear inside the widget page. What am I doing wrong?
Another problem concerns the typography: Is it possible to change the h4 inside the block_title to h2?
Thanks!