- NewspapertagDiv AMP Plugin Tutorial
- ApiPractical example – How to add a new Block and Module
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
Hi,
These fonts are loaded as they are the default fonts used by the theme. You can edit the td-config file and remove the open sans – http://screencast.com/t/viDr6x0B then check the page source, it shouldn’t be loaded anymore. Please note that you have to do this change in the main theme as this file cannot be overwritten via child theme.
If you set another font for any of the theme sections, it will be loaded in your page source, for example – http://screencast.com/t/JRZtdnRWwsW – http://screencast.com/t/9owH1FfhUTWv – http://screencast.com/t/hVG8jy1U
Thanks!
Hello,
Unfortunately there is no option for it in the theme. The theme uses a 3 column setup and a 4 post display is a bit difficult to do. As an alternative, you can use a block 15 for example instead of related articles and you will have 5 columns instead of 3. There is no layout with 4 columns. As an example, you can edit the block 15 file and force it to display only 4 posts but it will need adjustments: http://screencast.com/t/Nigculnh – http://screencast.com/t/iLv7DCu9a which again is difficult to do because of the 3 column layout.
The theme was not created with 4 columns in mind.
Thank you!
Hi guys,
WordPress: 4.3.1
WP multisite enabled: No
Theme name: Newspaper
Theme version: 6.5.1
Theme database version: 6.5.1
I have to mention that I am using the child theme of Newspaper as provided in the package.
The problem is that although I have chosen Roboto (Google Font) and in here:
Dashboard > Newspaper > Theme panel > Theme Fonts > “Add custom fonts / Change google fonts settings” > Google Font Settings (Latin & Greek) > Save Setings
I end up with the following when viewing source…
<link rel='stylesheet' id='google_font_open_sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C400%2C600%2C700&subset=greek%2Cgreek-ext&ver=442213b9f64802786cef7a695850c25f' type='text/css' media='all' />
<link rel='stylesheet' id='google-fonts-style-css' href='https://fonts.googleapis.com/css?family=Roboto%3A400%2C700&ver=442213b9f64802786cef7a695850c25f' type='text/css' media='all' />
So how do I get rid of “Open Sans” 🙂 and how do I get to load the subsets for Roboto?
Thanks!
Hey reloaded, did you set specific ones for each ad. For example if you’re targeting the top ad, you want the code to say hide_top_ad
Here’s the entire lines of code for the full ad section in the file found in the wp-booster folder:
/* ----------------------------------------------------------------------------
ad support on content
*/
//read the current ad settings
$tds_inline_ad_paragraph = td_util::get_option('tds_inline_ad_paragraph');
$tds_inline_ad_align = td_util::get_option('tds_inline_ad_align');
//add the inline ad
if (td_util::is_ad_spot_enabled('content_inline') and is_single() and !get_field('hide_inline_ads')) {
if (empty($tds_inline_ad_paragraph)) {
$tds_inline_ad_paragraph = 0;
}
$cnt = 0;
$content_buffer = ''; // we replace the content with this buffer at the end
$content_parts = preg_split('/(<p.*>)/U', $content, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
$p_open_tag_count = 0; // count how many <p> tags we have added to the buffer
foreach ($content_parts as $content_part_index => $content_part_value) {
if (!empty($content_part_value)) {
// Show the ad ONLY IF THE CURRENT PART IS A <p> opening tag and before the <p> -> so we will have <p>content</p> ~ad~ <p>content</p>
// and prevent cases like <p> ~ad~ content</p>
if (preg_match('/(<p.*>)/U', $content_part_value) === 1) {
if ($tds_inline_ad_paragraph == $p_open_tag_count) {
switch ($tds_inline_ad_align) {
case 'left':
$content_buffer .= td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_inline', 'align' => 'left'));
break;
case 'right':
$content_buffer .= td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_inline', 'align' => 'right'));
break;
default:
$content_buffer .= td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_inline'));
break;
}
}
$p_open_tag_count ++;
}
$content_buffer .= $content_part_value;
$cnt++;
}
}
$content = $content_buffer;
}
//add the top ad
if (td_util::is_ad_spot_enabled('content_top') and is_single() and !get_field('hide_top_ad')) {
$content = td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_top')) . $content;
}
//add bottom ad
if (td_util::is_ad_spot_enabled('content_bottom') and is_single() and !get_field('hide_bottom_ad')) {
$content = $content . td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_bottom'));
}
return $content;
}
You can see each of the different ad placements (top, inline and bottom) have their own name and respective field in ACF.
http://mecburlar.com/…-includes/js/jquery/jquery.js?ver=1.11.3
http://mecburlar.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
http://mecburlar.com/…assets/js/js_composer_front.js?ver=4.7.4
http://mecburlar.com/…lib/waypoints/waypoints.min.js?ver=4.7.4
http://mecburlar.com/…uery.themepunch.tools.min.js?ver=5.0.4.1
http://mecburlar.com/…themepunch.revolution.min.js?ver=5.0.4.1
http://mecburlar.com/…jquery.form.min.js?ver=3.51.0-2014.06.20
http://mecburlar.com/…ct-form-7/includes/js/scripts.js?ver=4.3
http://mecburlar.com/…Newspaper/js/tagdiv_theme.min.js?ver=6.5
http://mecburlar.com/…cludes/js/comment-reply.min.js?ver=4.3.1
http://mecburlar.com/…mment-system/media/js/count.js?ver=4.3.1
I could not find them in txt file. My txt file
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
wp-mediaelement | /wp-includes/js/mediaelement/wp-mediaelement.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
itsec_file_change_warning_js | http://mecburlar.com/tr/wp-content/plugins/better-wp-security/core/modules/file-change/js/admin-file-change-warning.js
itsec_strong_passwords | http://mecburlar.com/tr/wp-content/plugins/better-wp-security/core/modules/strong-passwords/js/strong-passwords.js
wp-color-picker | /wp-admin/js/color-picker.min.js
wpseo-admin-global-script | http://mecburlar.com/tr/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td_wp_admin | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_edit_page.js
td_wp_admin_demos | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_demos.js
td_page_options | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_page_options.js
td_tooltip | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/tooltip.js
thickbox | /wp-includes/js/thickbox/thickbox.js
jquery |
jquery-ui-sortable | /wp-includes/js/jquery/ui/sortable.min.js
to-javascript.js | http://mecburlar.com/tr/wp-content/plugins/taxonomy-terms-order/js/to-javascript.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
backwpup | http://mecburlar.com/tr/wp-content/plugins/backwpup/assets/css/backwpup.min.css
wp-mediaelement | /wp-includes/js/mediaelement/wp-mediaelement.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
itsec_notice_css | http://mecburlar.com/tr/wp-content/plugins/better-wp-security/core/css/itsec_notice.css
wp-color-picker | /wp-admin/css/color-picker.min.css
td-plugin-framework | http://mecburlar.com/tr/wp-content/plugins/td-api-plugin/wp-admin/style.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://mecburlar.com/tr/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css
thickbox | /wp-includes/js/thickbox/thickbox.css
ithemes-icon-font | http://mecburlar.com/tr/wp-content/plugins/better-wp-security/lib/icon-fonts/icon-fonts.css
to.css | http://mecburlar.com/tr/wp-content/plugins/taxonomy-terms-order/css/to.css
Hello
I’m not sure to understand the use of Slider Revolution…
Is it possible to add a slider automatically made from our latest posts ?
For example, each new post is added to the slider (with a max of 10 for example)…
Or do you have to manualy creat each slide ?
Hi,
If you add a custom class like in my example the css will be applied only there, no h tags affected.
You can add the css code in Theme Panel > Custom Css – http://screencast.com/t/XmKLxknI
Thanks!
Hi,
I understand your request, but unfortunately there is no easy solution for it. The example you provided is for another option. It is set to remove the currently viewed post from the sidebar, not show unique articles on blocks.
In order to have different articles on post blocks (widget and related) you can edit the widget block and set another category to it, or filter it by tag. You can also filter the related articles by tag from the theme panel.
Unfortunately there is no unique articles site-wide option.
Thank you!
Thank You Alin,
I know how to manage the newspaper’s background but I want something more : i need to put the background before my logo exactly like my example (for an other example : http://www.allocine.fr/). I would like to have a background all over my window. You know what I mean ?
Thanks again
Hi,
At the moment these are the only options for the mobile menu. In a future update we hope to implement a number of options for the mobile version. What you can do is make the top-menu appear above the main menu, but again it will need custom work to display properly. Not all options from the top menu will fit.
As an example:
http://screencast.com/t/PL9o8rRCN6N6
code:
@media (max-width: 767px){
.td-header-top-menu-full {
display: block;}
.td-header-sp-top-menu{
display:block!important;
}
You can then hide elements you do not want with the ‘display:none’ property.
Thanks.
Hello,
I am sure this is a silly question, but it’s driving me crazy. Hope you can help me 🙂
I want to show my readers the Italian local time (this is my site http://www.brasilnaitalia.net)
I know it’s possible to insert date and time on the top menu, but the problem is I can’t see the top menu from my iphone, for example. Besides, it’s a fixed time. If the user is on my site for 10 minutes, it will show always the same time, unless he refreshes the page (or i do so for him). I don’t like the refreshing idea because it would consume my server and I would probably have to upgrade.
So my question is: how can I insert a simple clock on the top menu or on the header ad space?
Can you help me?
I thank you in advance for your time and patience,
Barbara
Hi
We offer support for each user which have a valid license. You can use the same license if you want to build a sub-domain which will display the same content as the main domain, translated in a different language. Basically if you’re using a different sub-domain to display a different version of the same site, translated in a different language for example, it’s considered as being part same project.
Thanks!
Hi,
I would like to have h1 and h2 tag on my frontage. Problem is that whenever I put it (whichever block or widget I use), these two headings are shown with default font size which does not suit my needs.
My question is whether it is possible to define h1 and h2 font size in Theme Panel->Footer->Footer Info Content->Footer Text which will be the same as the rest of the text which will not be h1 or h2.
Basically what I want to do is to define h1 and h2 in the About Us section in the Footer which will be the same size as the rest of the font in this section.
For example, this is the About Us part of the footer:
High Tech News is our effort to bring the best latest science and technology news to a broader audience. We live in the most advanced science and technology era and it will be a great shame if people do not get familiar with all the latest events. This is our personal effort to make that possible. Stay Informed!
Here I would like to make “High Tech News” as h1 and “Stay Informed!” as h2, but I would like to keep the font size of these two headings as the rest of the text in this section.
Many thanks,
Vladimir
Hi,
If you add a Theme Accent color you can see this color for example when you hover the article title on modules, or the link color from post content – http://screencast.com/t/VjTGht8Uuo7 – http://screencast.com/t/KSrbvIwAN – http://screencast.com/t/C4FiDPfxu3c
If you refer to a custom button(shortcode) added in a post content, you can use these colors for it(Visual Composer colors for button) – http://screencast.com/t/ET94A67p
Here is an example – http://screencast.com/t/cFdlNqBB0 or you can use custom css for other colors.
You can find a similar answer here – https://forum.tagdiv.com/topic/buttons/page/2/#post-72166
Thanks!
Hi
To display the pagination above the article button ad you need to remove the the ad from post content: http://screencast.com/t/PWgzx852 then place the ad after the pagination function in posts’s template file, like this: http://screencast.com/t/pgCbyqSPF You can use the do_shortcode(‘ ‘) function and insert the ad shortcode from VC: http://screencast.com/t/W4SFKPnoShn – http://screencast.com/t/lqaJxdVdMee in every post template files corresponding for the post template used.
To obtain a similar pagination you will need lots of customizations in theme’s core files and I can’t provide a quick solution now. You can use this example to customize the pagination on posts by adding this parameter: ‘next_or_number’ => ‘next’, here: http://screencast.com/t/hkqJljKyxr3 and remove this code: http://screencast.com/t/87kGUcin5YQN – result: http://screencast.com/t/8THEIGR5 If you want a different implementation for pagination and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer from sites like: http://studio.envato.com/ to do this for you.
Thanks!
Hello,
The option is available in the newspaper theme just styled differently. It is a visual composer element you can pick when you edit a page called “Homepage post”: http://screencast.com/t/WWNfkUhVmz
But the styling is a bit different: http://screencast.com/t/ot8Uymkk
It will grab the featured image and make it a background.
If you only want an full width image not a post, you can follow this topic: https://forum.tagdiv.com/topic/adding-top-area-like-travel-example/
You can have that styling in a post by choosing post style 7: http://demo.tagdiv.com/newspaper/td-post-lenovo-details-new-computers-that-could-be-heading-our-way-in-2015/
I hope this helps.
Thank you.
Hi
You can customize the tag page from theme panel > template settings > tag template: http://screencast.com/t/xPrmMPUUQy The theme allow you to change the module used for the tag page, the sidebar position and which sidebar will be used for the tag page can be controlled from there.
The theme wasn’t designed to display blocks on tag page, but you can use do_shortcode() function to achieve that, like in this example: http://screencast.com/t/ASDXrbTpjTLM
<?php echo do_shortcode('[td_block_big_grid category_id="63"]');?>
To get the shortcode create a blank page, add the block which you want to display on tag page: http://screencast.com/t/6rMkvdLh then switch in backend editor, copy this code: http://screencast.com/t/zQKx94rg1 and paste it inside the function.
The result should be like here: http://screencast.com/t/GakHkD6yTT
Let me know how it goes.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi
I’ve test the slider on my side with the following configuration and works fine: http://screencast.com/t/7GROeTyyPO – http://pastebin.com/PpPx7aaK – http://screencast.com/t/UlZZPuLq Please make sure that you’re using a full width layout in VC (no sidebar) and set the sidebar from Visual Composer pagebuilder like in above example, also clear all caches, deactivate all plugins except Visual Composer and test again.
Thanks!
Hi,
This is exactly what I need. Just one more question about this and I hope it is not out of the scope of support.
Is it possible to define block settings in this way?
I saw this https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
but I don’t know PHP. I hope it is possible to define number of articles and category.
Anyway thank you a lot for your help. I hope this will help other customers beacuse it is really great to have blocks beneath article.
Hello,
I’m trying to set up a top page with different grids.
While doing so, I stumbled upon a few design issues – they are visible here:
The page starts off with one block containing a title and then with Big Grid 1, followed by Big Grid 5.
So far, I noticed the following:
1) The right tiles in Big Grid 1 (the one at the top) are shown below the large grid on the left – I solved that by setting padding to 0 left and right
2) There was a grey thick border right of the images – I solved this (for now) by stretching the image to 100%
3) Big Grid 1 is now (maybe because of the measure to solve issue 1)) short then Big Grid 5
4) The two slides further below have a grey border on the right.
Can you point me to what I’m doing wrong here — for example why Big Grid 1 breaks, but also how to make them the same length?
Thanks in advance
Tabibito
You can only notice the strange displacement of the website when the 728×90 “Navy Ad Campaign” leaderboard is present next to the logo. Also the ad size is no different then any other 728×90 banner we use in that same ad slot but those ads don’t displace content on the website.
I did notice that 728×90 “Navy Ad Campaign” ad giving us problems has only one noticeable difference from others. The banner is visually interactive and it expands when touched by a user’s browser, I am assuming that’s the reason why this happens?
Thanks for your help everyone.
Normally people don’t update their posts but if anyone is having this error. It is likely due to whatever CDN you’re using. For example, Cloudflare offers an option for you to Auto Minify javascript, css, and html. To solve this problem, simple deactivate the Auto Minifying of Javascript under the speed tab.
Thank you BogDan for your help!
Best of luck.
Is it possible to change the presentation of a tag page?
I see settings for categories in the theme panel.
https://forum.tagdiv.com/newsmag-how-category-settings-work/
But I see nothing like this for tag pages.
I like, for example to have a big grid on a tag page.
Hi,
The code i provided removes the bottom border and changes the background color for the ad container.
The theme was not built to support big logos to cover the containers like that. The recommended logo dimensions are these: http://screencast.com/t/wRIpx7CxBGJV. In order to make the logo fit on mobile phone you can make a smaller logo and add it as a background image to the container in the mobile version.
You will need a bit of css knowledge to get it done.
As an example:
@media (max-width: 767px){
.td-header-style-10 .td-header-sp-logo {
background-image: url("your image url");
}
.td-header-style-10 .td-header-sp-logo img{
display:none
}}
It will need further customization to fit properly though
Thanks
Hi @Yannik97,
If you want to use a different symbol for every block used in visual composer, in CSS code you need to add a speccific class for each block: (.td_block_1 or .td_block_2 or .td_block_3 … or .td_block_18).
For my example, the CSS code look like that:
.td_block_1 .block-title span::before {
content: '\';
margin-right: 10px;
}
Thanks and let me how it goes!