- 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
I have a question again concerning the duplicate related display of the related posts on pages under http://www.my-travelworld.de/ . When I activate the plug-in “contectual related posts” it will be displayed on both areas here:
The related posts are here under
<div class=“td-pb-span8 td-main-content“ role=“main“>
& here under
<div class=“td-footer-page td-footer-container td-container-wrap>
Is there any possibility that I can erase the related posts in the footer manually. Maybe in the Theme Panel? Hope you can help me here. Do you know if there any conflicts when I just delete the footer?
Hi,
The auto ads for amp need to be set in mobile theme in in amp ads -> http://prntscr.com/pt3bmw
Only one code is need to be set in theme panel, the other one is a standard code and is already add in our theme -> http://prntscr.com/pkwtzh also the code need to be set only in AMP ads -> http://prntscr.com/pkwum2
Thank you!
hello,
where can I placed AdSense out code in AMP site.
there are are 2 codes to be placed in-
Place this code once in between the head tags of your AMP site’s HTML.
Copy and paste this code immediately after the <body> tag of the pages you want ads to appear.
also my menu pages are not displaying in AMP vesion…whenever I click on menu pages only headings are shown. how can I fixed it?
Hello,
I was originally designing a web page without a sidebar, but then I changed my mind. Now I want to migrate the blocks that I have in one column over to the sidebar panel. How do I save the blocks’ settings so that I don’t have to completely remake them when I add them to the sidebar?
For example, one block I want to move is the search bar. But I have a bunch of settings changed already to make the search bar look exactly how I want, and I don’t want to go through and have to change every setting all over again.
I also noticed that there doesn’t seem to be a way to design and save a custom template; it looks like I can only choose a pre-made template from online. Is that the case, or is there a way for me to save a custom template?
Thanks in advance,
Samara
Hi,
I have a parent category ‘Movies’ and different ‘movie’ as a child categories in it.
E.g:
Movies (Parent Category)
– Movie A (Child Category)
– Movie B (Child Category)
– Movie C (Child Category)
I want to create a page where in I want to show/list all child categories (A,B,C) with thumbnail. How can I do it in Newspaper theme?
If I use a ‘Custom Taxonomy’ for example ‘Singers’, how can i list/show all the singers on a page?
Please provide some solution/help.
Thanks,
Ashish
Hey!
How to hide tdb_template urls?
Example – https://techtalktow.com/tdb_templates/category-template-1/
There are other template urls that are accessible to others when you directly add it on url.
For instance if you put header after the domain name it redirects to https://techtalktow.com/tdb_templates/header-template/
I want to hide all such template urls.
Hi,
Where do I edit the description that appears when I google my website?
For example, when I google “tagdiv”
I get the following description
“Welcome to tagDiv’s official site! Build incredible news websites using the best premium WordPress Themes. Visit our site to discover more and get support!”
Hi Guys,
On the News Headline scroller at the very top of the page, the buttons prev/next fade out after the first headline.
How do I stop this, is it configurable?
https://www.wearedublin.com/?amp
David
I wish to Keep a Unique Style for my website Images and Styles.
Lare Image: 1200 x 630
Medium: 600×315
Small: 300×160
But, when we Upload 1200×630 Size Images to WordPress,
Random Images Automatically Creating.
So, I changed WordPress Settings – media – Thumbnail sizes to ZERO.
Now, I want to change These Themes Image Sizes…
to Stop, Creating Themes Sizes,
Also, I want to Change All my Thumbnails to the above Proposition.
Simply, I Just Want to Avoid Irregular Sizes and Auto Creations.
When I Upload a 1200×630 Image, Then Theme will create an extra two images ( 600×315 & 300×160 )
then, Theme should use those sizes wherever on the page.
Simply wants to Avoid Irregular sizes like ( td_324x160.png )
I hope you understand,
if not, Kindly ask me for more details…
Could you explain how to create a layout for 3 text block or images like this?
screen – https://www.screencast.com/t/fTpEx0J4iE
Before your template I used dewfault bootsrap format
example
———–
<div class=”row d-flex flex-wrap” align=”center”>
<div class=”col-lg-4 col-md-4 col-sm-6 col-xs-12″ align=”center”>
img1
text1
</div>
<div class=”col-lg-4 col-md-4 col-sm-6 col-xs-12″ align=”center”>
img2
text2
</div>
<div class=”col-lg-4 col-md-4 col-sm-6 col-xs-12″ align=”center”>
img3
text3
</div>
</div>
————-
How to it with your CSS?
Hi,
I was able to add custom post types to the search results by adding a code to the themes function.php
function search_filter($query) {
if ( !is_admin() && $query->is_main_query() ) {
if ($query->is_search) {
$query->set('post_type', array( 'post', 'page', 'at_biz_dir', 'mdb_item', 'mdb_person', 'mdb_series', 'mdb_company' ) );
}
}
}
add_action('pre_get_posts','search_filter');
This works fine and the desired results are displayed on the search results page.
Unfortunately they don’t appear in the live search results, when typing the term into the search field.
How can I add the custom post types to the live search results?
UPDATE: I see that the live results are using the ‘td_module_mx2’ template. Is it possible to overwrite it with a custom template, which I can store in the child theme directory?
Thanks – it makes sense. I do feel that there is a bug, as if I choose the option Mobile only, then AMP should continue to work (for example, LinkedIN now sends articles to AMP) but then I have nowhere to insert the analytics code (as the regular AMP menu disappears from the left menu bar).
I’ll run the option Mobile + AMP however, so that I solve my problem this way.
I can only affect the front/home page through the “Edit with TD Composer” option like this. On the front page, title length isn’t an issue, it’s only an issue with search/tag/category pages.
When I try to click on “Edit Template” on a category page, for example, it doesn’t do anything and just indicates “Please select a tagDiv Builder template” when I hover over it with the mouse.
thank you so much for the template https://www.fxan.de/, the only thing I can’t figure out is how I’m gonna clean it up TD Composer from empty column?
https://www.fxan.de/1767-2/?preview_id=1767&preview_nonce=2f62daa630&preview=true
Thanks for the reply ,
But once I have the web set up and running and use the main page of the pamphlet, I cannot use the TagDiv Composer, and the block I want to put with a transparent background does not let me select it to modify its properties. How can I do that does not involve re-creating the main page again from the beginning?
I have a website to do the tests where you can see it, https://test.burgosdeporte.com.
The other option is a plugin recommendation to incorporate banners to my website.
Thank you all
Hi,
1. The primary category has to be set manually for each post, regardless of its language. Setting a primary category for a post in a English for example, won’t have any effect on the translated posts, one has to be set by you.
2. This is a somewhat related topic – https://forum.tagdiv.com/topic/translate-cloud-templates-header/
I see you are using a cloud header template, you can create multiple header templates and set one for each language. You can use the header manager to set the desired header depending on the language. For example edit the translated homepage with the composer and set a header that you craeted for that language – https://prnt.sc/qtvz5v Same for the cloud template for posts, categories etc.
For the footer page, in that topic there will be information about how it can be done. Should work fine.
3/4 Change them how exactly? Those fields are added by the theme, changing the actual fields will require you to make modifications in the theme files. If that is what you want, the fields are defined here – https://prnt.sc/qtw1da
You can set this information for each post, no need to translate those fields, if maybe that is what you want to do.
Let me know.
Thanks
Hi,
1. That is because you are using a predefined footer stile, these can not be edit only to add new elements, if you want to set/change the footer elements choose an empty footer and set in Appearance>>Widgets>>Footer1/Footer2/Footer3 the elements you want to display. Also the text from about section can be set here -> https://i.imgur.com/9sdRpwW.png -> https://forum.tagdiv.com/newsmag-footer-templates-2/
2. If you want to remove the show comments from modules/blocks all you need to do is to go in Newspaper>Theme panel> Blocks Settings > Meta tag on Modules/Blocks and deactivate the “Show comment count”.
-> http://prntscr.com/pl104p
3. From what I can see you are using the latest post as your homepage, so in order to add the popular posts in sidebar you’ll need to go in Appearance> Widgets set a block (for example block 1) in your sidebar and set the filter on popular -> https://i.imgur.com/2nwoJIu.png
Thank you!
Hi,
The code for analytics/ad network tracking code set in theme panel > analytics/js codes will apply on mobile theme too, only for amp you should set a different code for analytics -> https://i.imgur.com/FDP3nur.png
Thank you!
Hello !
In order to have that option you will need to set Mobile + AMP or AMP options as you can see it here: https://www.screencast.com/t/lzFSGpwy3
I hope this was helpful !
Thank you !
Hello Guys
We created a staging server by installing a new version of Newspaper 10.2. I have two primary queries.
1. After updating the theme and plugins in the staging server. We started checking speed and filesize in GT Metrix, file size & fully loaded size is increased, Previously we were using Newspaper 9.7.4 version, when we started comparing both versions mainly file size & fully loaded size, has increased in 10.2 version. How we can reduce the file size in the new version which is 10.2 to make the website speed faster?
2. After updating the Newspaper theme 10.2 and plugins in the staging server. I got a bug which is wp_booster error. we think some plugin is interrupting. May we know which plugin is interrupting to the Theme?
If we can clear the bugs so that we can update in main server.
Thanks a lot for helping us out with this.
Hello,
We have migrated our site to TagDiv Composer, latest version, from WP page builder. We are having issues with adding advertisement code (Javascript) via the raw html block.
When we paste the javascript code into the raw HTML block, two things happen:
- (not so bad) When we just add javascript that is not pulling anything in, the raw html block simply disappears and we are unable to edit it. We have to delete the whole column to be able to remove it and add another one. I’m guessing it’s because it adds a height of 0, since it’s just javascript. That’s not that much of a problem, because we can just delete the container column and start over for now.See the first js code sample below.
- (bad for us) When we add script that pulls in an ad (see the second js sample below), the page reloads either blank, or just with an ad. There is no option for us to save the page. so, we cannot add our ads onto pages at this time. We have a temporary fix by using the ad box, but we have way more ad types than what is allowed in the 5 custom ad spots in the newspaper panel. We even tried adding it to the text with title. There, we can paste the code into the ‘text’ editor, but we cannot save the page. We tried with all plugins off, except tagdiv composer, and same result. We just can’t seem to save the page with an ad in it. WP page builder allowed us to place any Javascript on any page.
Please advise.
———–
Sample code, which makes the block disappear, but we can save the page:
<!-- SAMPLE AD-300x250 [async] -->
<script type="text/javascript">if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript";s.src = 'https://servedbyadbutler.com/app.js';var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}</script>
Sample code, which when placed on a page, will pull in an ad from AdButler platform but cannot let us save:
<!-- SAMPLE AD-300x250 [async] -->
<script type="text/javascript">if (!window.AdButler){(function(){var s = document.createElement("script"); s.async = true; s.type = "text/javascript";s.src = 'https://servedbyadbutler.com/app.js';var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(s, n);}());}</script>
<script type="text/javascript">
var AdButler = AdButler || {}; AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || '';
var plc197227 = window.plc197227 || 0;
document.write('<'+'div id="placement_197227_'+plc197227+'"></'+'div>');
AdButler.ads.push({handler: function(opt){ AdButler.register(165413, 197227, [300,250], 'placement_197227_'+opt.place, opt); }, opt: { place: plc197227++, keywords: abkw, domain: 'servedbyadbutler.com', click:'CLICK_MACRO_PLACEHOLDER' }});
</script>
Hello, today when I try to edit some page or edit with tagdivi composer it doesn’t work, it shows only a loading circle. On console I can see this error but I dont know if it is the problem:
VM8022:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Object._initStructuredData (js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973:277)
at Object.init (js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973:224)
at HTMLIFrameElement.loadIframe (js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973:369)
at HTMLIFrameElement.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-&load[chunk_1]=slider,jquery-touch-punch,iris,wp-color-picker&ver=5.3.2:3)
at HTMLIFrameElement.r.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-&load[chunk_1]=slider,jquery-touch-punch,iris,wp-color-picker&ver=5.3.2:3)
I would like to add the excerpt of a post in my template…
How it is possible to do this?
I even tried creating a custom shortcode in the themes functions.php file but it doesnt seem to work…
(here is an example for the post_title)
function myshortcode_title( ){
return get_the_title();
}
add_shortcode( ‘page_title’, ‘myshortcode_title’ );