Search Results for 'amp'

Results from the Forum
Calin
tagDiv Staff
Sawai Singh
Participant
#0

i puts Adsense code (article inline ad) and set 3 in AFTER PARAGRAPH but can’t show ads between artile.
also how to set logo in center in amp page.

Anonymous
Inactive
#0

Refers to the following conversation: https://themeforest.net/comments/21535594

Hello, maybe someone can shed some light here. I noticed that the picture gallery on my page is not loaded correctly anymore. For example, with 2 or 3 layouts and with large and full size images, but the large version of the image is not loaded if you click on one of the thumbnails, which are loaded strangely, and in the console I get the error message 404 “Not found”, although it is the same link as from the media library. Hence my question: Is the problem only with me or has someone had the same experience?

I have WordPress 5.1 and php 7.2.14 and only minimalistic plugins, which I have already tested by deactivating them. Older galleries in posts also don’t work in the normal lightbox version anymore, but the TagDiv Slide Gallery is fully functional.

Try it out:

1. open Classic Editor or Gutenberg Editor with Classic Block
2. create a gallery with 2 or 3 layouts and don’t adjust anything else
3. test if your gallery loads the big picture when you click on a thumbnail

I hope for a resolution of the problem and thank you in advance!

tszt2
tagDiv Member

Thank you for your answer. Yes, I am talking about using a shortcode in the WordPress single-post (Gutenberg) editor (with the Newspaper theme).
Unfortunately, it does not work when using the shortcode element in WP5 Gutenberg editor, either.
But when I use one of the default Newspaper single-post templates instead of a Newspaper cloud template, the shortcode works.
So there must be something that the cloud template single post templates render differently from the default Newspaper templates when using shortcodes.
I also noticed this when using shortcodes from other plugins. (Some of them work, some don’t when using a single-post cloud tamplate.)

  • This reply was modified 7 years by tszt2.
  • This reply was modified 7 years by tszt2.
  • This reply was modified 7 years by tszt2.
Calin
tagDiv Staff

Hi,

I check your AMP version of some post and I do not see the
-> https://www.screencast.com/t/p03AkrWH scroll bar.

Thank you!

Catalin
tagDiv Staff

Hi,

Please replace the get_date() function with the following one.

<?php $post_id = $this->post->ID;?>
<?php echo human_time_diff( get_the_time('U', $post_id), current_time('timestamp') ) . ' ago'; ?>

The result should look like this -> https://www.screencast.com/t/Lx5qZsxsJ

Thanks for your understanding!

Calin
tagDiv Staff

Hi,

1. Category tag on modules/blocks -> Category tag on modules/blocks

3. In order to show the date you’ll need to add some code in theme files, for example big grid 1 you’ll need to add in td_module_mx6.php this code
<div class="td-module-meta-info">
<?php echo $this->get_date();?>
</div>

wp-content/themes/Newspaper/includes/modules/td_module_mx6.php
-> https://www.screencast.com/t/zFMXvcwz
-> https://www.screencast.com/t/UqRiqrlB0JB
Results -> https://www.screencast.com/t/6VzZQHNby

Here you can see all the blocks from what modules are build -> https://forum.tagdiv.com/theme-blocks-modules/

Thank you!

LisaCJ
tagDiv Member

Hi Calin,
Please see this page for an example of how the content is going under the header:

https://wnihp.com.au/2018/12/03/australian-bush-spices/

Thanks

Chandan Kumar Singh
Participant
#0

Hi Team,

When I test my sites’ URL on AMP, its showing error and saying

This page isn’t an AMP.

My site URL: https://www.jogira.com/

Please help

Regards,
Chandan Kumar Singh

purlp
tagDiv Member

How if my background is picture and size is 4px, What is the code for that to repeated image 4px to fit the size of the uploaded picture.

Example this is my background https://snag.gy/sCSw2N.jpg

This is what the post look like https://snag.gy/wlzTV1.jpg

Thanks.

DADDY
Participant
#0

Hi
When I click drop down menu on header, it only shows 4 level, how can I increase more ?
For example on Default Demo,

LIFESTYLE
– Business
– Health & Fitness
– Recipes
– Travel

I need this drop down menu from 4 to 8 ~ 10.
thanks

myelseacc
Participant
main menu - topic
#0

This is Effects in main menu when hovered. -> https://demo.tagdiv.com/newspaper_journal/
How can i turn off Hover Effects Spread out line bar in main menu ?
pic -> https://imgur.com/a/iDg9PaZ
I want it just show in normal.
This is example What I want to change like this. How to change it in main menu ?
-> https://stackoverflow.com/questions/28623446/hover-effect-expand-bottom-border
Thank for your help.

Moises
Participant
#0

Hello , we have one question about the width of NewsMag , how is the ideal way to change the layout :

For example now days the fix max resolution of NewsMag is a little bit our dated.

we would love to fix it the mobile first to a 1280px max

so far working for a fluid footer or header we managed to change


.td-footer-container,
.td-sub-footer-container {
  width: 100%;
}
.td-footer-container .td-pb-row,
.td-sub-footer-container .td-pb-row {
  width: 100%;
  margin: 0 auto;

  @media screen and (min-width: 1024px) {
    width: 1021px;
  }

  @media screen and (min-width: 1280px) {
    width: 1200px;
  }
}

But what about all the content , right now , we are using Scandal based content

And the First module and all the other modules maybe a pain to resize everything, is there any other (easy) way to achieve this.

thank you

Rmedia
Participant
#0

Hi,
The AMP logo on my website (fortnitebunker.com)is blurry when using your tagdiv AMP plugin.

Also, there is horizontal scroll on the AMP page only, there should not be horizontal scroll.

Thank you

Calin
tagDiv Staff

Hi,

Please make sure that you have set all like in our documentation for -> Logo &amp; Favicon in Newspaper Theme -> https://forum.tagdiv.com/logo-favicon/
Also please make sure that there is not a plugin conflict, please deactivate all non theme plugins and clear all cache, and try again.

Thank you for your understanding!

dedkola
tagDiv Member

Also, consider using a cache plugin and to improve the loading speed look the MySQL query cache: http://dev.mysql.com/doc/refman/5.1/en/query-cache.html

Not help this link 🙂 https://www.dropbox.com/s/wpbqz429ft0ytjb/Screenshot%202019-02-25%2015.05.07.png?dl=0
Can you be more specific how you use &amp; what to cache query in mysql.

I disabled almost all…..

I am use cloudflare pro + zend cache. w3 total. its not helps much with problem with mysql. I try tune mysql query cache if you send here more details. Tnx.

dennis
tagDiv Member

Can you correct my code please, https://prnt.sc/mpsx8v

$buffy .= ' '. ( get_the_time('U', $this->post->ID) > strtotime( "7 days ago" ))? human_time_diff( get_the_time('U', $this->post->ID), current_time('timestamp') ). ' ago' : $this->get_date();

My categories posts are showing wrong time, like posts published today are appearing to be 3 months ago.
https://prnt.sc/mpsyxq

Catalin
tagDiv Staff

Hi,

Oh, yes, I understand now! If you want to achieve something like that on your website, you need to create a page menu item, for example. Please check the following topic to achieve something like this -> https://forum.tagdiv.com/topic/popup-menu/

Thanks for your understanding!

meri
tagDiv Member

Hi,

I sent you an email.

Also, I cannot cut &amp; paste content in the text block of a new page…
Everytime I close the window, the content disappears.
There’s obviously some problems with pages.
Btw, the window for adding content is too big. I always have to zoom out and I have a standard screen (not a graphic designer one, just standard).

Regards

Calin
tagDiv Staff

Hi,

All you need to do is to set the category filter like this -> https://www.screencast.com/t/orqQo2aP8KVn will be filter all posts and show only posts that have that category and if you set filter type and show the following ids -> https://www.screencast.com/t/coiPoPjQxBj then the filter will look like this -> https://www.screencast.com/t/cNk2eROftRl if you click on all will be show the category filter ( in this example New Look, all post that have that category ), if you click on a category id will be show all post that have that category, not all post from the category filter that have that category. -> https://www.screencast.com/t/Osxp0xRsL4HM

Thank you!

shpanovalexey
tagDiv Member

Hi,

Thank you for replay, but unfortunately I haven’t «posts loop» &amp; «posts loop 2»
https://yadi.sk/i/3K_RRvS5f-a4zQ
What I should do to add these posts?

Bogdan B.
tagDiv Staff

Hello,

If you want to add content specifically to the amp template, please note that there is no amp editor where you can add content specifically for the amp plugin. The amp plugin grabs the content from the main theme.

Thank you!

Calin
tagDiv Staff

Hi,

Unfortunately our theme do not have an option to can edit the header of footer for AMP post/page, if you want to do that you’ll need to do it in amp plugin files, I think that you do that before, and after updated the fails was override.
In order to do that you’ll need to go in wp-content/plugins/td-amp/templates/footer.php https://www.screencast.com/t/vrHIiEzrmIn

Thank you for your understanding!

Calin
tagDiv Staff

Hi,

You need to activate the thumbs that you are using on homepage in theme panel > blocks settings > thumbs on modules/blocks -> https://www.screencast.com/t/z0Pqx4eRr7ri for example 485-360 -> https://www.screencast.com/t/lPlLntp7

Thank you!

Arlink
Participant
#0

The video list option does not work in the new Gutenberg editor. The option also does not work Center Full Width image in the classic editor. Example in the link

Viewing 25 results - 20,451 through 20,475 (of 38,683 total)