Search Results for 'amp'

Results from the Forum
Calin
tagDiv Staff

Hi Nagarig,

Unfortunately we do not tested any of these codes, therefore we can not recommend one.
What you can do is to check some articles about this, like these :
WP Hide & Security Enhancer
How To Hide WordPress CMS Visibility Completely With Plugin
How do I hide WordPress from a CMS detector?

Thank you for your understanding!

be2name
tagDiv Member

Hello Calin,
it’s not about Revive. It’s just about a JavaScript. I need a working JavaScript do set different code for different devices. Like:

<div id="ad_area" style="display: block; text-align: center;">
<script type="text/javascript">
adUnit = document.getElementById("ad_area");
adWidth = adUnit.offsetWidth;
if ( adWidth >= 728 ) {
/* Leaderboard 728x90 */
adUnit.innerHTML = '<b>Banner1</b>';
} else if (adWidth <= 720 &amp;&amp; adWidth >= 468) {
/* Banner 468x60 */
adUnit.innerHTML = '<b>Banner2</b>';
} else {
/* Mobile Banner 320x50 */
adUnit.innerHTML = '<b>Banner3</b>';
}
</script>
</div>

This code works with the default header but not with a custom header.

  • This reply was modified 6 years by be2name.
  • This reply was modified 6 years by be2name.
Calin
tagDiv Staff

Hi,

Unfortunately we do not tested the Revive adserver with our theme, therefore we do not know its behavior. Using adsense ads the can be set to use an auto format or you can use a code that will adjust per screen device -> https://support.google.com/adsense/answer/9183363?hl=en&ref_topic=9183242

Thank you for your understanding!

Calin
tagDiv Staff

Hi,

The question , is do you use the mobile theme plugin only for amp or for mobile version too? if is only for amp that is way the ads are displaying only for amp because for mobile you are using the responsive version of theme and the ads should be set in theme panel -> https://i.imgur.com/21m8xrg.png

Thank you!

Calin
tagDiv Staff

Hi,

If you make the changes with tagDiv Composer as in my example, then the logo should be set center -> https://i.imgur.com/msyCkyl.jpg

Also for the white background color on column can be set like this -> https://i.imgur.com/sxrLkoS.png (this will apply on on that column width).

Thank you!

Edbit
Participant
#0

Hi, I have a problem when I import Cloud Templates for Single Post, when I import a template (example, Single Post Template 28) it has a sidebar, but when I apply it in the Theme Panel > Post Settings > Default post template (site wide) the sidebar disappears and shows below the post.

Can you help me to import correctly the template or showing me what values should I put to have the sidebar show correctly in the template please?

Pictures:
– Cloud Template showing correctly in tagdiv composer:
https://imagizer.imageshack.com/img924/2976/5WeCXB.jpg
– Cloud Template showing correctly in “preview”:
https://imagizer.imageshack.com/img923/7909/5QZ6PF.jpg
– Cloud Template template applied site wide and not showing the sidebar in the post:
https://imagizer.imageshack.com/img924/398/pB8fEk.jpg
– Sidebar showin in the end of the apllied post:
https://imagizer.imageshack.com/img924/3452/KqYvDF.jpg

Calin
tagDiv Staff

Hi drmitzvah,

For the problem with mobile menu and search, please make a test and disable all non theme plugins, clear all cache and check again, is possible to use some plugins that are slowing this functionality.
If you do not like the mobile theme plugin , then you can use the responsive version (disable the mobile theme) or you can use mobile theme and show the responsive version of homepage using this option -> https://i.imgur.com/m0bVB5T.png you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/ or if you want to have the responsive version only, you can use the amp option from mobile theme -> https://i.imgur.com/oofST3D.png (to use the mobile theme template on amp) or you can disable the plugin.

Thank you!

Calin
tagDiv Staff

Hi,

Usually taxonomies are using for custom post types, but these can be filter like are filter the posts from a specific category -> https://i.imgur.com/gRTDg5q.png -> https://i.imgur.com/rq9EvNi.png example for a custom post type -> https://i.imgur.com/iJN1pgq.png https://i.imgur.com/YAzDlCD.png -> https://i.imgur.com/K5lcMBP.png

Thank you!

beattienao
Participant
#0

Hello,

I see some errors with mobile theme. When i access my article on desktop, sometimes it load with mobile theme! Sometimes it load with desktop theme. I feel mobile theme is not stable in working.

For example: https://beattienao.com/vitae-la-gi

Please help me to check!!!

Calin
tagDiv Staff

Hi,

If I’m right the code that you provide as example is setting the underline for entire website, if is so then you nee to make only some small changes to remove it from homepage.
.home p, .home .td-module-title:hover {
-webkit-text-decoration: none;
text-decoration: none; }

Now you need to use both codes, your we’ll set the underline and mine it will remove it, but only for homepage.

Let me know if this is working!
Thank you!

dievoaxe006
tagDiv Member

Thank a lot brother. I am facing a new problem. Whenever I am uploading new image it is coming blurry mean s not crystal clear as showing in theme. it is not about even new images, when I am modifying and delete some image n again try to put the same image there then image got blurry, it was not showing clarity as it was before.
example: website – http://www.scrollmyblog.com
https://scrollmyblog.com/category/lifestyle/beauty/ , this page there is bg of a girl, when I delete it and upload same image via css bg option it show ttly blurry.

https://scrollmyblog.com/category/lifestyle/ ,
I have uploaded an image ,showing very blurry , not soo clear as it should be. no matter what big size picture I have uploaded, it came same blurry. it is not good as currently theme has its own pic n all look very clear. once I will remove pics and put my own blog then all pics will come same blurry .
https://scrollmyblog.com/category/lifestyle/fashion/ , here is another example.

i have tried css bg, n in theme option- category option. nothing work out.

Calin
tagDiv Staff

Hi,

For me the Scandal demo is look the same as in the live demo -> https://i.imgur.com/zfpWMcj.jpg also the yellow color set as background in grids is set using custom css and a custom class set in theme panel> custom code> custom body class -> https://i.imgur.com/I5kCGPe.png
Here is an example of custom css that can work -> https://i.imgur.com/ZcdEchw.png
.td-grid-style-2 .td-big-grid-meta {
background-color: #dd9933ba;
}

This ode need to be set in theme panel> custom code> custom css.

Hope this will help you!
Thank you!

meeshymee
tagDiv Member

i want to insert custom image ads.. (images that will be sent to me to post by local businesses.)i have read everything on the site and it says i can do that but doesn’t really explain how (unless they are adsense/google ads etc) for someone who is new to this.

i asked you how to add ads without them affecting the row and you replied that it’s not possible however the site states: “Keep the ad in its own separate row” – how?

the site says: “by hosting local businesses’ ads” – this is what i want: small image ads from local businesses linking to their sites. i do not understand how.

“The new “Ad Box” element added into the tagDiv Composer makes it easy for you to copy-paste the ad codes straight on the front end. What’s more, you can even use this shortcode to display local business ads.” – i would like to know how to do this.

“Sample image ad with different images for each device: This is just for custom ads. ” – where do i get the codes? how do i set the size? (i see where to set adsense sizes but that’s all) i would like local business ads to be in aprox. 95×300 rectangular boxes one below the other down the right column/sidebar and in another area of the homepage i would like a row of them 125×125 across. (i have tried every way to get ad boxes across including creating a row with 3 columns and inserting an inner row to each that has 2 columns… otherwise ads placed just go below and not beside each other – if i don’t put a row it doesn’t work – i know this is incorrect but i don’t know how to do it. ) how do i create a template with the set sizes so i don’t have to do it every time?

(if i can figure it out i would like this to be added to all other pages but for now i am trying to do it on the homepage.)

i am not understanding so if you could please help i would very much appreciate it.
thank you.

  • This reply was modified 6 years by meeshymee.
  • This reply was modified 6 years by meeshymee.
vineydhiman
Participant
#0

Could you please tell me how to include in theme options?

beattienao
Participant
#0

I’m now using Mobile theme+AMP.

I have already add Google Adsense code in Mobile Theme/Mobile Ads.
I have already add Google Adsense auto ads code for AMP in Mobile Theme/AMP Ads.

However, when i load my article in mobile (not AMP page), Google Ads is not shown. But when i add “/?amp” after url, Google ads shows fine.

For example: You can check 2 url on mobile:

1. https://beattienao.com/binance-p2p-la-gi Ads not shown
2. https://beattienao.com/binance-p2p-la-gi/?amp Ads shown

I want all ads showing on both mobile page and AMP page. How to do?

Thank you!

Mark Gilbert
tagDiv Member

Another related question – can I get this code to work in the middle of a post using Custom HTML or other WP block?

<div style=”width:320px”><script type=”text/javascript”>amzn_assoc_ad_type =”responsive_search_widget”; amzn_assoc_tracking_id =”jazzjournal01-21″; amzn_assoc_marketplace =”amazon”; amzn_assoc_region =”GB”; amzn_assoc_placement =””; amzn_assoc_search_type = “search_widget”;amzn_assoc_width =”auto”; amzn_assoc_height =”auto”; amzn_assoc_default_search_category =””; amzn_assoc_default_search_key =”Andrew McCormack”;amzn_assoc_theme =”light”; amzn_assoc_bg_color =”FFFFFF”; </script><script src=”//z-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;Operation=GetScript&amp;ID=OneJS&amp;WS=1&amp;Marketplace=GB”></script></div>

Thanks

drmitzvah
Participant
#0

My Mobile theme menu tab and search bar takes time to open, after opening my website i see that it takes time for my logo to load, as in i can see my logo but then it changes to high pixel logo in about 1 minute, not fast, with it also takes time for the menu button to open even the search bar taking minutes to open.
Can anyone suggest me please what to do?

and how to use my homepage without mobile theme and posts as mobile theme/AMP? is this possible?

Thank you.

Vlad S
tagDiv Staff

Hello !

You can change that margin to negative, try -10 for example and the ticker will go higher. You can play with those values on any element so you can arrange your website.

Thank you !

Calin
tagDiv Staff

Hi asamnews,

The bold is use to target the words that were found in topics, unfortunately we can not remove it from search results, but if you want to access the links, what you can do is to open that topic and access the link from the topic, in this way you’ll be redirect to the correct link (example -> https://i.imgur.com/000K4D0.png -> https://i.imgur.com/0RF3EtG.png)

Thank you!

Calin
tagDiv Staff

Hi,

Is no need to edit the theme files, you can set that code in theme panel > analytics/js codes -> https://i.imgur.com/T9Y4Gy4.png here you can set all the code you have and it need to be set between <head> and </head> tags.
Also, our theme has more headers and footers to fit with Envato standards -> https://tagdiv.com/updating-the-core-of-tagdiv-themes/
For example when tagDiv Composer is not activate the theme will use the files from this path -> wp-content/themes/Newspaper/header.php when the plugin is enable and you also use tagDiv Standard pack with a standard header it will be use this path -> wp-content/plugins/td-standard-pack/Newspaper/header.php and if you are using a cloud header it will be use the file from this path wp-content/plugins/td-composer/legacy/Newspaper/header.php
Indeed this is quite confuse, but this is the way that these files are used after after the update per envato requirements.

Thank you!

asmsblog1
tagDiv Member

Wow great answer this is standard wording whatever problem we come up with support team always says these golden words
(Please make sure that your AMP plugin is up to date and also check for a plugin conflict. please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again)

I think if we deactivate newspaper theme it will definitely solve the issue whats your say will it ?

Calin
tagDiv Staff

Hi,

This is because you are using the mobile theme plugin, you’ll gain a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders or shortcodes ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://i.imgur.com/9d0UWLT.png
Unfortunately if you are using same plugin for shortcodes, this will not work on mobile theme, it will be interpreted as a html text, this will work only on responsive version. Also because amp plugin is use with mobile theme plugin the shortcode will not work on amp too, only if you do not use the mobile theme for amp.

Also you can show the responsive version on mobile theme -> https://i.imgur.com/m0bVB5T.png you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/ or if you want to have the responsive version only, you can use the amp option from mobile theme -> https://i.imgur.com/oofST3D.png (to use the mobile theme template on amp) or you can disable the plugin.

Thank you for your understanding!

Vlad S
tagDiv Staff

Hello !

Please make sure that your AMP plugin is up to date and also check for a plugin conflict. please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Vlad S
tagDiv Staff

Hello !

You can achieve this if you are using a Cloud library post template and add the ad as you can see in our example here: https://www.youtube.com/watch?v=biTpVVlr8j8

Thank you!

Calin
tagDiv Staff

Hi,

Indeed the related posts container is no longer accessible on tagDiv Composer, these elements are still present in some pro demos like the default single post template, but it’s functions were added in flex block, therefore the results should be the same.
-> https://i.imgur.com/2rBNV5D.png -> https://i.imgur.com/O4G7ItY.png
Therefore in your example if a post has a category that the current post has it will be display on related categories.

An alternative to use the related posts container is to import a single post template from cloud library (Single Post Template 1-20) save that element using the right click -> https://i.imgur.com/40FOQJ7.png in this way you will be able to use it in your current single post template.

Thank you!

Viewing 25 results - 13,376 through 13,400 (of 38,683 total)