Search Results for 'amp'

Results from the Forum
Simion C.
tagDiv Staff

They should work same as before. That’s unusual, I also have both latest version of Yoast and the AMP plugin active. The AMP post pages work properly. Could you test this by leaving only theme plugins and Yoast active? as a quick test.

Simion C.
tagDiv Staff

I also tested this functionality. For example this post has the primary category Fashion
https://www.screencast.com/t/iHgalMsXC
Now I set a sidebar for the Fashion category
https://www.screencast.com/t/qxoG6cvrps
That sidebar contains these elements – https://www.screencast.com/t/Z5Gu7pWIx4J

Now that sidebar is displayed in the category page
https://www.screencast.com/t/UtTs1CXcrkKm
Also for the post which has this as a primary category
https://www.screencast.com/t/ohTJuNh2sh

So the same should happen for you. Like this category page and this post
http://www.workagain.in/category/front-page/
http://www.workagain.in/nyasa-accompanies-mother-kajol-for-madam-tussauds-function/

marijn390
Participant
#0

Hi,

The logo that I have set is not put on the AMP website in the middle. This is only since an update, I have not changed anything myself.

See here a screenshot: https://www.mupload.nl/img/1efiwhog.jpg

Simion C.
tagDiv Staff

Hi,

Some examples would be very helpful, what exactly would you like to change and where. I will try to help you.

Thanks

Simion C.
tagDiv Staff

Hi,

You could create a code that when the respective page is viewed, change the color. Like in this example where the unique page ID and also menu ID is used
https://www.screencast.com/t/KYxvOHjcu

Thanks

Simion C.
tagDiv Staff

Hi,

At the moment a custom CSS panel for AMP does not exist, it may be implemented in the future. If you want to use CSS, the only option would be enter it directly in the plugin. This is a similar topic
https://forum.tagdiv.com/topic/custom-css-in-amp-posts/

Thanks

Zhisar1985
tagDiv Member

This is the error from the console when i try to use tadDiv Composer:

>> http://deportesavila.es/wp-content/plugins/td-composer/assets/js/js_f
>> iles_for_wrapper.min.js?ver=__td_aurora_deploy_version__
>>
>> Uncaught TypeError: Cannot read property ‘models’ of undefined
>> at Object.bindViewsModelsWrappers (js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:224)
>> at Object.init (js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:168)
>> at HTMLIFrameElement.loadIframe (js_files_for_wrapper.min.js?ver=__td_aurora_deploy_version__:265)
>> at HTMLIFrameElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.6:3)
>> at HTMLIFrameElement.r.handle
>> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs
>> ,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.6:3

Simion C.
tagDiv Staff

Hi,

That looks like an inline text element, that has an option to set a color and also hover color for the links you enter in it
https://www.screencast.com/t/7BOpoqW4z7Y

You could underline the links with a code like this for example
https://www.screencast.com/t/phm0kPYVU

The code can be entered in Theme panel->Custom CSS section, it will affect links in the inline text description.

.tdm_block_inline_text .tdm-descr a {
text-decoration: underline;
}

Thanks

Jose
tagDiv Member

@Simion C.

The problem is not really solved, it is an incompatibility error with Yoast by SEo (plugin).

I had to turn Yoast off and on again for AMP td to work. Only the configuration has been “temporal fix”, but it may fail at any time.

I recommend to check this issue well and add a repair in future updates, attached log of the error caused by AMP td plugin.

2018/07/03 06:27:56 [error] 25618#0: *21 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method WPSEO_Utils::is_woocommerce_active() in /var/www/clients/client0/web1/web/wp-content/plugins/wordpress-seo/frontend/class-frontend.php:705
Stack trace:
#0 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(286): WPSEO_Frontend->robots('')
#1 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/clients/client0/web1/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /var/www/clients/client0/web1/web/wp-content/plugins/wordpress-seo/frontend/class-frontend.php(682): do_action('wpseo_head')
#4 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(286): WPSEO_Frontend->head('')
#5 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/clients/client0/web1/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#7 /var/www/clients/client0/web1/web/wp-includes/general-template.ph" while reading response header from upstream, client: 66.249.70.19, server: soyunperro.com, request: "GET /mi-perro-vomita-amarillo/amp/ HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/web1.sock:", host: "soyunperro.com"
2018/07/03 06:27:58 [error] 25618#0: *21 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method WPSEO_Utils::is_woocommerce_active() in /var/www/clients/client0/web1/web/wp-content/plugins/wordpress-seo/frontend/class-frontend.php:705
Stack trace:
#0 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(286): WPSEO_Frontend->robots('')
#1 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/clients/client0/web1/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /var/www/clients/client0/web1/web/wp-content/plugins/wordpress-seo/frontend/class-frontend.php(682): do_action('wpseo_head')
#4 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(286): WPSEO_Frontend->head('')
#5 /var/www/clients/client0/web1/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/clients/client0/web1/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#7 /var/www/clients/client0/web1/web/wp-includes/general-template.ph" while reading response header from upstream, client: 66.249.70.19, server: soyunperro.com, request: "GET /como-alimentar-a-un-cachorro/amp/ HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/web1.sock:", host: "soyunperro.com"

Cheers

Simion C.
tagDiv Staff

This is not valid – https://www.screencast.com/t/5nM9WmAP
Be sure to use px and not such a high value, with -15px it will be too high
https://www.screencast.com/t/LfaC894drtm

In the other example a value like this would be best
https://www.screencast.com/t/HPaQec5A

You could add divs individually, for each case, like this
https://www.screencast.com/t/YEALpxfDW
Then style them differently if needed.

simchris
tagDiv Member

Did you check your robots.txt file, and also resave your permalinks, then actually try going to the page yourself from the /amp/ endpoint ?

If you can’t reach it yourself in web browser, Google can’t either.

( I don’t work here. )

johnfelipe
tagDiv Member

in wp-content/themes/Newspaper/functions.php
i view this:

function td_on_get_footer() {
if ( is_user_logged_in() && ! td_util::tdc_is_live_editor_iframe() && td_util::get_check_installed_plugins() ) {

ob_start();
?>
<script>

setTimeout(function () {

confirm( "Did you disable any TagDiv plugins? \nWe've got some errors at loading API files. It could happen because of a disabled TagDiv plugin!");

}, 3000);

</script>
<?php
echo ob_get_clean();
}
}

if comment
ob_start();
/*?>*/
works, how can write that section correctly?

braind
Participant
#0

Hi,
is there any possibility to add some custom CSS on AMP post pages?

Regards
JN

UdemyCouponPro
Participant
#0

Hi,
Whenever I try to share my post on Pinterest it shows some Unicode character like the screenshot.
https://goo.gl/6b51eB
For Twitter, it opens two windows when I click the share button as shown in the screenshot.
https://goo.gl/AhLEH7
Currently, I am using Version 8.7.4

Incrosnatu
Participant
#0

Hello! After the new update of theme and plugins, i have some errors with amp pages.
Here is a shared link: https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fwww.sociedelic.com%2F&item_key=GgQIHBAD&hl=en-GB&sharing_key=L6c_p0r0JDxFPCN806BO-A

And here is the error of one of links: https://search.google.com/test/amp?skip_amp_follow=true&id=I1O_AsFpiN_RTSgeaJYQiw

Page cannot be reached
This could be because the page is unavailable or blocked by robots.txt

wizimatic
tagDiv Member

You can check on mobile.. Here is a recent post, the meta information aligns properly, http://wizimatic.com/china-releases-3-year-plan-for-air-pollution-control/
Here is a long time post; https://wizimatic.com/infantino-wants-video-refs-for-2018-world-cup/
the post meta (date) doesnt align. I use the same div class for it. Here is the code that i am using, right in single.php

<div class=”classing”><?php
$time = human_time_diff(get_the_time(‘U’),

current_time(‘timestamp’));
$pos = strpos($time, ‘months’);
if ($pos>0) {
echo $td_mod_single->get_date(false);;
}
else{echo $time . ‘ ago’;}
?></div>

samdyz
Participant
#0

Is there a way we can install a floating sidebar on the homepage created by TD Composer.
OR
if we can have Infinite Load on Post Loop Settings (under template ‘Pagebuilder + Latest Articles + pagination).

Basically I want to display my latest articles under the various elements I have created with TD Composer but I need to have two things together – 1) Infinite Load & 2) Floating sidebar..

Simion C.
tagDiv Staff

That is the place, the custom CSS section. You can enter your code after the one you have currently.
The Advanced CSS sections are meant to be used if you want the code to apply for specific view ports. For example if you would like that code to apply only for desktop, and use a different one for tablets.

feededigno
Participant
#0

Hi guys,

This problem happens only when I use Smart List configuration.
How can I fixed my posts from “LISTAS”?

For example: https://feededigno.com.br/listas/12-fatos-que-voce-nao-sabe-sobre-luke-skywalker/

Simion C.
tagDiv Staff

So you want to set a scroll to class, also similar to this theme demo menu
https://demo.tagdiv.com/newspaper_dentist/

You could do it like this example. First set classes to the elements you want to scroll to
https://www.screencast.com/t/DdoV0Cecx
Name the classes in any way you like. Then create the menu items like this. Add a custom link with this code in the navigation label
https://www.screencast.com/t/GYf9iz5Xm

<span data-scroll-target="website address here" data-scroll-to-class="the class you used" data-scroll-offset="-100">name of menu item</span>

The data-scroll-offset allow you to control where the scroll stops, experiment with different values.

The result will be that now the menu item when clicked will scroll to that location
https://www.screencast.com/t/hvUJoqwcbo

George
Participant
#0

Hi,
I am getting errors only in responsive mode with firefox for example showing me this message ” Website is slowing down your broswer..” Hitting the stop button i get the following

Error: Script terminated by timeout at:
css@https:/wp-includes/js/jquery/jquery.js?ver=1.12.4:4:1
a.fn[c]@wp-content/plugins/Ultimate_VC_Addons/assets/min-js/ultimate.min.js?ver=3.16.24:6:8837
getSliderOffset@https:wp-content/themes/Newspaper/js/tagdiv_theme.min.js?ver=8.8.2:25:3
slowScrollHorizontalInterval/<@wp-content/themes/Newspaper/js/tagdiv_theme.min.js?ver=8.8.2:17:123
each@https:wp-includes/js/jquery/jquery.js?ver=1.12.4:2:2879
each@https:wp-includes/js/jquery/jquery.js?ver=1.12.4:2:844
slowScrollHorizontalInterval@wp-content/themes/Newspaper/js/tagdiv_theme.min.js?ver=8.8.2:17:101
slowScrollHorizontalIntervalTimer/<@wp-content/themes/Newspaper/js/tagdiv_theme.min.js?ver=8.8.2:33:396

I tried disabling ultimate visual addons, but the problem is still there.
Any suggestions? This only happens to home page, all other category pages are working fine in responsive

Thank you

Simion C.
tagDiv Staff

Hi,

Most custom codes used and even theme panel settings will apply over the default colors. For example if an element is black and then you make it blue, the first color to load is still black, then blue is loaded. That would be how CSS works, in cascade.

This effect may be noticeable for a small or larger period of time, directly affected by the website loading speed. If the website takes longer to load the effect may be noticeable. Most elements in the theme have a default or initial color value, this will be replaced by colors you set.
Where exactly are you seeing this effect?

Simion C.
tagDiv Staff

Hi,

I check your website now, AMP seems to work with our AMP plugin active
https://www.screencast.com/t/3eNRkIxxUGTh
Should I check something else maybe? The posts I tested worked.

wizimatic
tagDiv Member

i used this code <?php
$time = human_time_diff(get_the_time(‘U’), current_time(‘timestamp’));
$pos = strpos($time, ‘months’);
if ($pos>0) {
echo $td_mod_single->get_date(false);;
}
else{echo $time . ‘ ago’;}
?>

but the styling class didnt work the moment the posts is over a month. The date didnt align with other metas

axehorde
tagDiv Member

so it’s okay as I set it up? But then again, the advertising is covered in monitors with lower resolution … the big problem is for the text inside the ad that is partially covered (you can try just zoom in the page to 125% for example). The customer will not be fine.

  • This reply was modified 8 years by axehorde.
  • This reply was modified 8 years by axehorde.
Viewing 25 results - 23,826 through 23,850 (of 38,683 total)