Search Results for 'amp'

Results from the Forum
andreabarbieri
Participant
#0

It’s a easy question:
The desktop home page of y website is ok.
The mobile version is only a “latest articles” page. It looks like the mobile version does not have a homepage at all.
https://petadvisor.it/

What is the problem?
I have installed the AMP version that you reccomend. All plugins are installed and updated.

Thank you

Simion C.
tagDiv Staff

Hi,

You can change the title for the latest articles section, in it’s settings. Edit the respective page with the composer and access the page settings
http://prntscr.com/o799e5http://prntscr.com/o799h4

The business demo contains a customization for all the block titles, the top line that you mention is one of them. By default that block header template (template 11) looks like this
https://demo.tagdiv.com/newspaper/block-header-11/
I can provide a code that will make it look like in the demo. First you must use block header template 11, then enter this code in the Theme panel custom CSS section

.td_block_template_11 .td-block-title:after {
height: 1px;
}
.td_block_template_11 .td-block-title:before {
display: none;
}

So for example, set the template in the theme panel – http://prntscr.com/o7a1id
Then enter the code, and the result will be as in the demo – http://prntscr.com/o7a1ri

If you have more questions, let me know.
Thanks

Calin
tagDiv Staff

Hi,

So you are using a plugin ( Custom Post Type UI); unfortunately, we did not tested this plugin with our theme and therefore, we cannot say for sure if it will work or not as expected with the theme, sorry!

Usually, if you have a custom post type this will be show in Newspaper > Theme panel > CPT & Taxonomy https://www.screencast.com/t/TbJxdWypW also you can check our documentation for Custom Post Type Support https://forum.tagdiv.com/custom-post-type-support/ but notice that since Newspaper v9.7 most of the files was moved in tagDiv Composer plugin and the child theme will only support the function.php and style.css you can read more about this here -> https://tagdiv.com/updating-the-core-of-tagdiv-themes/

Thank you for your understanding!

Calin
tagDiv Staff

Hi,

So you are using a plugin ( Pods ) to create custom post types and you want to show them in author (user) pages, unfortunately, we did not tested this plugin with our theme and therefore, we cannot say for sure if it will work or not as expected with the theme, sorry!

Usually, if you have a custom post type this will be show in Newspaper > Theme panel > CPT & Taxonomy https://www.screencast.com/t/TbJxdWypW also you can check our documentation for Custom Post Type Support https://forum.tagdiv.com/custom-post-type-support/ but notice that since Newspaper v9.7 most of the files was moved in tagDiv Composer plugin and the child theme will only support the function.php and style.css you can read more about this here -> https://tagdiv.com/updating-the-core-of-tagdiv-themes/

Thank you for your understanding!

stan1111
tagDiv Member

Thank you that is exactly what I was talking about (1st example). It worked.

itechguides
Participant
#0

I created a new post template using a blank cloud template – here is the template link – https://www.staging1.itechguides.com/tdb_templates/blank-single-template-2/

I need help with the following issues:

1. I have configured my post to use the template but it does not apply – Configured it via Theme Panel => POST SETTINGS => Default Post Template (Sitewide) –
2. The ad on the right-hand side is configured to be sticky via the container column but the container does not stick
3. I want to add more elements beside the author name – I am struggling with it. Each element I add goes under author name but I want them beside the author name – for example, I want to add Last Updated date
4. On the social share element, I checked the box to remove share text but it is still there.

Thanks for your help

meri
Participant
AMP - topic
#0

Hi,

1/ I copy/pasted the standard script of Analytics in the AMP Analytics field. But my script doesn’t look like your Json format. Will it be ok?

2/ I set up the AMP ads (Adsense) and so I copied their script in your “AMP Ads” field. But Google provides me with 2 scripts, one for the head, one for the body. I copied the head one. What am I supposed to do with the body one?

Thanks

meri
Participant
#0

Hi,

I changed the font in Body General Font and it worked for posts and pages.
But the size and line height didn’t apply.
So in Post Content and Page Content I changed the size and line heigh.
It worked for posts but not for pages.
What am I missing?

Here are 2 examples:
Post: https://www.mondeoz.com/equipement-voyage/meilleur-sac-a-dos-voyage/
Page: https://www.mondeoz.com/politique-de-confidentialite/

Thanks

shelmes@liebertpub.com
tagDiv Member

@Calin,

Thanks, we have resolved the previous issue, but we have another issue with the site.

The main navigation menu sub-items just spin and don’t load when both the mobile theme plugin + amp plugin are active.

You can see what I mean here: https://nimb.ws/kKpdsR

Here’s what the ajax request for fetching category content returns:

https://nimb.ws/gmnFxz

I’ve investigated a bit on this issue before and I found that its because of this line in – td-composer\legacy\common\common.php file:


if ( ! td_util::is_mobile_theme() ) {
	td_api_autoload::add('td_more_article_box', TDC_PATH . '/legacy/common/wp_booster/td_more_article_box.php');
	add_action('wp_footer', array('td_more_article_box', 'on_wp_footer_render_box'));
}

for some reason its detecting that its viewing in mobile version and that module does not get added for ajax reqeusts.

Can you help with this issue?

ps: the site -> https://sandbox.clinicalomics.com/, passcode: tempvieweraccess123*

Thanks

meri
Participant
#0

Hi,

I’d like to change the font of the category description but can’t find where in Theme Panel > Theme Fonts.
I’m talking about the text just below the title, for example “Sélection d’idées de destination voyage pour découvrir…” on the page https://www.mondeoz.com/destinations-voyage/

Thanks

Tceruped
tagDiv Member

The text I’d like to edit is:

“Newspaper is your news, entertainment, music & fashion website. We provide you with the latest news and videos straight from the entertainment industry.”

PhotoWorkout
tagDiv Member

Hi Calin,

I did that, but it is still showing:
Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Learn more. See: https://developers.google.com/web/updates/2016/02/font-display?utm_source=lighthouse&utm_medium=devtools

Potential time saving could be up to 3 sec.

Any other suggestions?

The problematic font file is this one: icons/newspaper.woff?16

nmasta
Participant
#0

A featured image (size 550×400) does not appear full size even though I choose the default post template which supposedly features the image full width. Instead, the image appears much smaller than its original size. What am I missing? Screenshot example here: https://www.dropbox.com/s/gvxhvz5ng3gk0rs/Screenshot%202019-06-26%2015.59.18.png?dl=0
This applies to all full-width post template options with same-sized photographs. Do they need to be much bigger?
thanks

Calin
tagDiv Staff

Hi @TimeToGoogle,

Please check this similar topic -> https://forum.tagdiv.com/topic/menu-on-amp-pages-is-broken/

Thank you!

Vlad S
tagDiv Staff

Hello !

Our view counter doesn’t have the option to read the AMP views. The view counter reads only the links from our website not the one indexed by google. I’ve sent your request to our developers and maybe they will implement it in the next updates but I cannot promise that.

Have a nice day !

Thank you !

damianovich
Participant
#0

Hello,
I have recently replaced my old theme with newspaper, but I have several problems with saving the theme settings. When I try to save the custom css or the activation code (for example) the browser starts running without stopping. Looking at the resources I noticed this message from the browser: – Failed to load resource: the server responded with a status of 400 (Bad Request) – and the link is https://mydomain.com/wp-admin/admin-ajax .php? td_theme_name = Newspaper & v = 9.7.3

Thank you for your help
D.

Davidbatz
Participant
#0

Hi,
We’d like to have the Mega Menu only display Parent categories and exclude the child-categories.
Example:
Parent Category = African Destinations
Child Category = Rwanda

Mega menu displays both categories(Parent and child), instead we want it to display only the Parent Category (African Destinations category).

Please advise soonest.

Thanks in advance.

Sizwe

Calin
tagDiv Staff

Hi,

Please make sure that you do not have a plugin conflict with untested plugins, please deactivate all plugins and child theme ( if you are using ) and let only the tagDiv Composer , clear all cache, deactivate the cache plugin and try again.

Also please check the options from Google AdSense account, like this one for example http://prntscr.com/nc11h0

If there is still a problem, please provide me a link and some more details and screenshots with the problem you are facing.

Thank you!

David
Participant
#0

I figured out, that the “views” on post edit screen (displayed by Newspaper Theme) do not contain AMP views, so they are pretty much useless. Could you please edit this to display the correct data?

When I look at the Jetpack stats, for example, the AMP views are tracked there without any problems.

Thanks!

Calin
tagDiv Staff

Hi,

For amp logo, you can add this custom css and the logo will have the normal size -> https://www.screencast.com/t/IRR8SCLyU
.td-main-menu-logo amp-img img {
width: 100%;
}

-> https://www.screencast.com/t/UEdtyvUmTm
In order to clear AMP cache that Google please check this article -> https://developers.google.com/amp/cache/update-cache

Thank you!

Calin
tagDiv Staff

Hi,

The 9.7 update was a somewhat major update, now the tagDiv composer has to be active at all times in order to maintain the same functionality. Most issues that can happen after update are related to how the theme is updated.

For example if you update by FTP the old theme has to be deleted and the new one uploaded. Then the plugins have to be updated as mentioned in the guide provided above. If you use a child theme this may not work anymore, the recent changes are the cause.

You can however not update for the time being and keep using the previous theme version, that depend on you entirely. You can update in the future if you should consider it. Maybe try it on a local copy of the site to see what happens, while having the main website kept safe. There are plugins that can duplicate a website if you should consider this suggestion.

If you want us to take a look you can send us an email at contact@tagdiv.com and provide admin access as well as FTP or cPanel. Let us know.

Thanks

Calin
tagDiv Staff

Hi,

The mobile version is look like that because you have the mobile theme plugin that provide you 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 ( 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://www.screencast.com/t/ebUIzt4se

Mobile Theme: Automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/

Also for the 3 blocks, you’ll need to have set same feature posts (that have set feature category) -> https://forum.tagdiv.com/featured-posts-2/ -> https://www.screencast.com/t/QsJ6ppY4

If you want the responsive version and amp you should use this opinion -> https://www.screencast.com/t/jZct5ueBqOrb but if you have amp activate on pages you’ll need to create in Mobile editor a content for AMP version of page.

Let me know if you have more questions!

Simion C.
tagDiv Staff

Seems I misunderstood the question, I was referring to the search form provided by the theme in the composer.
The text in the search widget which is provided by WordPress could be translated like this
https://presscustomizr.com/snippet/changing-the-search-string-in-wordpress-search-forms/
Enter that code in the theme or child theme functions file, after you change it to the text you want. Example – http://prntscr.com/o6sxs8http://prntscr.com/o6sxyx

Calin
tagDiv Staff

Hi,

Please make sure that you have configured the amp plugin as in our documentation -> https://tagdiv.com/amp-newspaper-theme/ also if you have the last version of AMP ( 1.2.0) please set it like this -> https://www.screencast.com/t/s9rioBwKgfQR

Thank you!

be2name
tagDiv Member

Hi Calin,
ideally I don’t want to change template-files to make them update-save. So I thought I can manipulate the titles with a function in functions.php. I tried something like:

function custom_title($title_parts) {
if (in_category('categoryname') && is_single()) {
$title_parts['title'] = some code here ...
}
return $title_parts;
}
add_filter( 'document_title_parts', 'custom_title' );

But this seems to have no effect on the title.

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