danieledti
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Add MenuHi @ampforwp ,
Today we alread have a layout, if we deactivates the AMP and active the AMPforWP the layout will continues or will be changed ?
Forum: Plugins
In reply to: [Yoast SEO] head> style [amp-boilerplate]https://github.com/Yoast/wordpress-seo/issues/9941
if you wanna follow the request.
Forum: Plugins
In reply to: [Yoast SEO] head> style [amp-boilerplate]to fix the problem I made a change on the code!
/** * Outputs a Twitter image tag for a given image * * @param string $img The source URL to the image. * @param string $tag The tag to output, defaults to image:src but can be altered for use in galleries. * * @return bool */ //protected function image_output( $img, $tag = 'image:src' ) { protected function image_output( $img, $tag = 'image' ) { /** * Filter: 'wpseo_twitter_image' - Allow changing the Twitter Card image * * @api string $img Image URL string */ $img = apply_filters( 'wpseo_twitter_image', $img ); $escaped_img = esc_url( $img ); if ( in_array( $escaped_img, $this->shown_images ) ) { return false; } if ( is_string( $escaped_img ) && $escaped_img !== '' ) { $this->output_metatag( $tag, $escaped_img, true ); array_push( $this->shown_images, $escaped_img ); return true; } return false; }
now it is fixed!
- This reply was modified 6 years, 9 months ago by Steven Stern (sterndata).
Forum: Plugins
In reply to: [Yoast SEO] head> style [amp-boilerplate]the only thing that I need it is the text change the place or doesn’t appear, if the text appears after </head> its’s ok.
So how can I do that?when this text appears break all my AMP code.
Forum: Plugins
In reply to: [AMP] Add MenuI saw that I have to code functions.php but with path to get there?
wp-content/functions.php? …
Forum: Plugins
In reply to: [Yoast SEO] head> style [amp-boilerplate]Did you perform the conflict check?
yes
Can you please let us know the results of the conflict check?
twitter cards imageForum: Plugins
In reply to: [AMP] How to add code on the AMPI just want to add a menu on the header so, I didn’t understand where I put my code.
functions.php?
Forum: Plugins
In reply to: [Yoast SEO] head> style [amp-boilerplate]I wrote a post in the: https://github.com/Yoast/wordpress-seo/issues/9839
Forum: Plugins
In reply to: [Yoast SEO] head> style [amp-boilerplate]if you access this page “https://www.escolaedti.com.br/indicadores-inadimplencia/” you will see the error, this appears then I was changing http to https, anda update the plugin, I don’t have JavaScript errors.
Why the plugin write something I my code?
and how can I delete this parte of code, because if I delete my AMP stayed right.
Forum: Plugins
In reply to: [AMP] head> style [amp-boilerplate]ok thanks, I will write there!
Forum: Plugins
In reply to: [AMP] css problemHi @ryankienstra,
I found the code “amp-wp-header a{width:110px; border:none !important; background: url(https://wezenhost.com.br/edti/wp-content/uploads/2016/03/logo.png) center center no-repeat; background-size: contain; text-indent:-9999px; height: 50px; border-bottom: 1px solid #e66425; display:block; float:left;}” in the ribbon of SEO -> AMP , there have a tab Desing, where I found the code, now I change so, I hope fix the problem, thanks.
Forum: Plugins
In reply to: [AMP] css problemI have some plugins installed in my WordPress, but I didn’t found the code “add_action ( ‘amp_post_template_css’,…);
or something like that.
Remove from the cache doesn’t work so I need to remove from the source.
amp plugin didn’t call this “!important” ?
Forum: Plugins
In reply to: [AMP] AMP Validation Errorsi have this problem too! =/
Forum: Plugins
In reply to: [AMP] css problemamp-wp-header a{width:110px; border:none !important; background: url(https://wezenhost.com.br/edti/wp-content/uploads/2016/03/logo.png) center center no-repeat; background-size: contain; text-indent:-9999px; height: 50px; border-bottom: 1px solid #e66425; display:block; float:left;}
so I need to fix the amp-wp-header
where can I fix this, I have to change !important (delete) and this http, I have to set another url.
so how can I do this ? because if I change on the path /public_html/wp-content/cache/wp-rocket/www.escolaedti.com.br/qual-a-importancia-da-estatistica-para-o-lider/AMP
next time that I access the page, the code will change automatically and will put !important again
Forum: Plugins
In reply to: [AMP] CSS important!Ok i will search for.
Thanks a lot =D