Title: danieledti's Replies | WordPress.org

---

# danieledti

  [  ](https://wordpress.org/support/users/danieledti/)

 *   [Profile](https://wordpress.org/support/users/danieledti/)
 *   [Topics Started](https://wordpress.org/support/users/danieledti/topics/)
 *   [Replies Created](https://wordpress.org/support/users/danieledti/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/danieledti/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/danieledti/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/danieledti/engagements/)
 *   [Favorites](https://wordpress.org/support/users/danieledti/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 60 total)

1 [2](https://wordpress.org/support/users/danieledti/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/danieledti/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/danieledti/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/danieledti/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] Add Menu](https://wordpress.org/support/topic/add-menu-with-amp-for-wp-accelerated-mobile-pages/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/add-menu-with-amp-for-wp-accelerated-mobile-pages/#post-10374069)
 * Hi [@ampforwp](https://wordpress.org/support/users/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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/#post-10362543)
 * [https://github.com/Yoast/wordpress-seo/issues/9941](https://github.com/Yoast/wordpress-seo/issues/9941)
 * if you wanna follow the request.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/#post-10355968)
 * Hi [@mazedulislamkhan](https://wordpress.org/support/users/mazedulislamkhan/),
 * 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 8 years, 1 month ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/#post-10340917)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] Add Menu](https://wordpress.org/support/topic/add-menu-6/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/add-menu-6/#post-10332205)
 * I saw that I have to code functions.php but with path to get there?
 * wp-content/functions.php? …
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/#post-10328896)
 * Did you perform the conflict check?
    yes Can you please let us know the results
   of the conflict check? twitter cards image
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] How to add code on the AMP](https://wordpress.org/support/topic/how-to-add-code-on-the-amp/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/how-to-add-code-on-the-amp/#post-10323135)
 * I just want to add a menu on the header so, I didn’t understand where I put my
   code.
 * functions.php?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/#post-10317752)
 * I wrote a post in the: [https://github.com/Yoast/wordpress-seo/issues/9839](https://github.com/Yoast/wordpress-seo/issues/9839)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/head-style-amp-boilerplate-2/#post-10317673)
 * if you access this page “[https://www.escolaedti.com.br/indicadores-inadimplencia/&#8221](https://www.escolaedti.com.br/indicadores-inadimplencia/&#8221);
   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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] head> style [amp-boilerplate]](https://wordpress.org/support/topic/head-style-amp-boilerplate/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/head-style-amp-boilerplate/#post-10313959)
 * ok thanks, I will write there!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] css problem](https://wordpress.org/support/topic/css-problem-78/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/css-problem-78/#post-10304819)
 * Hi [@ryankienstra](https://wordpress.org/support/users/ryankienstra/),
 * I found the code “amp-wp-header a{width:110px; border:none !important; background:
   url([http://wezenhost.com.br/edti/wp-content/uploads/2016/03/logo.png](http://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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] css problem](https://wordpress.org/support/topic/css-problem-78/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/css-problem-78/#post-10295477)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] AMP Validation Errors](https://wordpress.org/support/topic/amp-validation-errors-5/)
 *  [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/amp-validation-errors-5/#post-10290972)
 * i have this problem too! =/
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] css problem](https://wordpress.org/support/topic/css-problem-78/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/css-problem-78/#post-10290324)
 * amp-wp-header a{width:110px; border:none !important; background: url([http://wezenhost.com.br/edti/wp-content/uploads/2016/03/logo.png](http://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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] CSS important!](https://wordpress.org/support/topic/css-important/)
 *  Thread Starter [danieledti](https://wordpress.org/support/users/danieledti/)
 * (@danieledti)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/css-important/#post-10286757)
 * Ok i will search for.
 * Thanks a lot =D

Viewing 15 replies - 1 through 15 (of 60 total)

1 [2](https://wordpress.org/support/users/danieledti/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/danieledti/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/danieledti/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/danieledti/replies/page/2/?output_format=md)