Search Results for 'amp'

Results from the Forum
JoseManuel_70
Participant
#0

we have strictly followed your instructions to overwrite the files loop-single-8 and loop-single-9 into our child wordpress theme but it doesn’t work,

I searched into documentation and we do it correctly

https://forum.tagdiv.com/the-child-theme-support-tutorial/

we have copied the files from this folder
wp-content\plugins\td-composer\legacy\Newspaper\parts\single

and pasted and modified to newsletter-child\parts\single\,

loop-single-8.php
loop-single-9.php
single_template_8.php
single_template_9.php

but theme still uses the root files from plugin directory,
could you help us?

Benedict Paramanand
tagDiv Member

A small trick. I just browsed through theme panel, and found out “Use Mobile theme for”
I had clicked on “Mobile + AMP” and the output in mobile was not good. I clicked “AMP”, The display is OK for me.
Now my question is, can the articles get arranged just like pc? you can have a look at our website, recent articles and beside it is advertisements.

TravelDudes
Participant
#0

Hi,

I’ve installed the Newspaper theme, but can’t add the license, as I can’t add the required plugins tagDiv Composer & tagDiv Cloud Library.

The system says:
“The link you followed has expired. Please try again.”

I tried this manually via WP.

The upload_max_filesize is already set to 10M.

Calin
tagDiv Staff

Hi,

Indeed these kind of errors appear when you are using the amp with out mobile theme, if you do not want to have mobile theme, please use this option from mobile theme -> http://prntscr.com/phfjz8 in this way the mobile theme style will apply only on amp and will fix these errors.

Thank you!

Vlad S
tagDiv Staff

Hello !

Indeed. You should be able to download them from here: https://www.dropbox.com/s/mtczc43qdg96ca5/examples.zip?dl=0

Thank you !

Jumich
tagDiv Member

Hi Calin, I’m not sure if I understood you correctly. Should I paste both code in section like in this example: https://prnt.sc/phdpyv

geelanmedia
Participant
#0

Seeking a way (still learning modern code) to have top “Featured Article”section have a “Live News”box where -for example – live emergency warnings as per the “Trending Now” top super that auto-aupdates?

Any ideas?

sanjay2019
tagDiv Member

can I use tag div amp without mobile theme activation? you also ask for screenshot here it is,
http://prnt.sc/phbz7m
http://prnt.sc/phbu6a
http://prnt.sc/phbx6c
http://prnt.sc/phbxon

help me to solve this problem

Calin
tagDiv Staff

Hello @iamkingsleyf,

So for example if you want to remove the article and review meta this function should be deleted/commented – http://prntscr.com/ocxpcn -> http://prntscr.com/ocxnaw
-> http://prntscr.com/ocxphq

Thanks.

Calin
tagDiv Staff

Hello,

So if you want to replace the classic header style with one from tagdiv cloud literary, you can chose the one that you are using, for example if you are using header style 3 -> http://prntscr.com/ph9gzf
After that use the tagDiv Composer to edit the header -> http://prntscr.com/ph9huz

Thank you!

iamkingsleyf
tagDiv Member

So there is no way to get it working,
On search engines it will still show the old date.

Guess i will use the other AMP then

Vlad S
tagDiv Staff

Hello !

Please make sure that you have installed AMP properly as you can see in our documentation here: https://en.support.wordpress.com/wordpress-editor/blocks/quote-block/

Thank you !

aioter
Participant
#0

Hello

I have just installed Romania News Pro demo with full content and got errors as below:

if I enable AMP plugin it appears two errors about Footer and single post layout https://prnt.sc/ph1gbz & https://prnt.sc/ph1jpi

if I disable AMP plugin it appears error at Footer https://prnt.sc/ph1gxc

I don’t know how to fix it. Please help me!

Thank!

zOrg3000
Participant
#0

The TagDiv Composer ‘freezes’ and ‘hangs’ every time while attempting to save. Every time, every page, not matter what. It’s become worse since the latest updates to newspaper 9. The TagDiv compose has made it impossible for me to update my pages overall, and basic posts filter changes are taking forever and very glitchy. Also, my website is loading very slow since the implementation of the TagDiv Composer. Please Help.

marcusbae
Participant
#0

1118/5000
Hello guys!

I need to add Taboola (ads) codes under the articles, but I want it to be the last thing on the site.

When I paste the code through the Theme Panel, ads are on top of comments, author, related posts and so on.

You can check through this link: https://temalguemassistindo.com.br/netflix-anuncia-japan-sinks-novo-anime-que-ira-estrear-em-2020/

As it stands, I can’t see the author of the article, for example, and it does a lot of damage. I guess the only way would be to paste the code into the theme editor, but I couldn’t either.

The code is this:

<div id = “taboola-below-article-thumbnails”> </div>
<script type = “text / javascript”>
window._taboola = window._taboola || [];
_taboola.push ({
mode: ‘thumbnails-a’,
container: ‘taboola-below-article-thumbnails’,
placement: ‘Below Article Thumbnails’,
target_type: ‘mix’
});
</script>

I don’t know if I made myself understood, if not, I explain again. I’m waiting for help, because I don’t know what to do or where to look for a solution. All the plugins I tried did the same thing.

Thanks!

Excelbud
Participant
#0

Is there a way to remove homepage posts. Instead of limiting them to 10 posts. I just want to remove the entire section. I attached a screenshot.

Example of Section I want removed

Excelbud

ramesh210r
Participant
#0

Hey, I installed Tagdiv Speed Booster and uninstalled all incompatible plugins. But when i install AMP (Suggested by you) it is showing plugin incompatible. You know everyone needs AMP plugin but your speed booster pluging is not working with it. Please give me some solution.

natagrit
tagDiv Member

Hi Calin, I hope I made it clear that it is not a single error message that I get. Sigh.
Ok, let’s do it again.

1. Please go here: https://search.google.com/test/amp
2. Type the following URL from our site in the field: https://allontario.ca/benefits-hiring-valet-parking-team-weddings/?amp
3. You will see the results as indicated on the screenshot below.
https://imgur.com/a/03Zpx0i

The second and third are not related to plugins.
Please let me know.

iamkingsleyf
tagDiv Member

Are we to remove the whole of this block?

/**
* returns the item scope for single pages. If we have an article or a review
* @return string
*/
function get_item_scope() {
//show the review meta only on single posts that are reviews, the rest have to be article (in article lists)
if ($this->is_review &amp;&amp; is_single()) {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Review"';
} else {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Article"';
}
}
function show_item_scope() {
echo printf( '%1$s', $this->get_item_scope());
}

Or just


'://schema.org/Review"';
'://schema.org/Article"';
iamkingsleyf
tagDiv Member

Are we to remove the whole of this block?

/**
* returns the item scope for single pages. If we have an article or a review
* @return string
*/
function get_item_scope() {
//show the review meta only on single posts that are reviews, the rest have to be article (in article lists)
if ($this->is_review &amp;&amp; is_single()) {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Review"';
} else {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Article"';
}
}
function show_item_scope() {
echo printf( '%1$s', $this->get_item_scope());
}

Or just


'://schema.org/Review"';
'://schema.org/Article"';

aioter
Participant
#0

Hello

I have just installed Romania News Pro demo with full content and got errors as below:

if I enable AMP plugin it appears two errors about Footer and single post layout https://prnt.sc/ph1gbz & https://prnt.sc/ph1jpi

if I disable AMP plugin it appears error at Footer https://prnt.sc/ph1gxc

I don’t know how to fix it. Please help me!

Thank!

Vlad S
tagDiv Staff

Hello !

The page speed is established on the actual page that is loading. For example. If your homepage (which is the first to load when you go to your site like http://www.example.com) the page speed will be calculated based on that. So the answer is no, your page speed should not be affected by using more templates. Also you can use the Category Description element which is located in the tagDiv Composer and it will automatically pull the Category Description that was set by you in the wordpress as you can see here: https://www.screencast.com/t/GVUqafZJb

I hope this was helpfull !

Thank you !

Calin
tagDiv Staff

Hi,

Try this :

<script>
jQuery(document).ready(function($){
if ( $('body').hasClass('home')) {
{
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "http://www.example.com",
"logo": "http://www.example.com/images/logo.png"
}
</script>
<script>
}
}
});
</script>

or this :

<script type="application/ld+json">
jQuery(document).ready(function($){
if ( $('body').hasClass('home')) {
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "http://www.example.com",
"logo": "http://www.example.com/images/logo.png"
}
}
});
</script>

-> https://stackoverflow.com/questions/38670851/whats-a-script-type-application-ldjsonjsonobj-script-in-a-head-sec

iamkingsleyf
tagDiv Member

Are we to remove this?

/**
* returns the item scope for single pages. If we have an article or a review
* @return string
*/
function get_item_scope() {
//show the review meta only on single posts that are reviews, the rest have to be article (in article lists)
if ($this->is_review &amp;&amp; is_single()) {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Review"';
} else {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Article"';
}
}

function show_item_scope() {
echo printf( '%1$s', $this->get_item_scope());
}

iamkingsleyf
Participant
#0

Hi,

We want to remove the schema code from the theme and by the way it will be better if we can TURN IT OFF without this STRESS and work, we don’t want where our request will fall under not provided support.

following this screenshot https://prnt.sc/nx0d2i i don’t know if removing the following code will solve it.

/**
* returns the item scope for single pages. If we have an article or a review
* @return string
*/
function get_item_scope() {
//show the review meta only on single posts that are reviews, the rest have to be article (in article lists)
if ($this->is_review && is_single()) {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Review"';
} else {
return 'itemscope itemtype="' . td_global::$http_or_https . '://schema.org/Article"';
}
}

function show_item_scope() {
echo printf( '%1$s', $this->get_item_scope());
}

Thanks

Viewing 25 results - 16,576 through 16,600 (of 38,683 total)