emmanuelad
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Remove ids and classes from and tagsWorked perfectly, thank you Tom!
Ok, I’ll make an effort on it, the only thing I need is the sub menus working.
Thank you!
Hey Tom,
I want to do something like this:
https://codemyui.com/pure-css-drawer-menu/
Here is an example with the mobile menu I want:
This page is fully in HTML and CSS.
But I don’t want to do that manually, maybe there is a way to load this from the primary menu using function wp_nav_menu(). I don’t know.
You got it?
Thanks a lot!
Forum: Themes and Templates
In reply to: [GeneratePress] Custom header in child themeI got it!
<header id="masthead" <?php generate_do_element_classes( 'header' ); ?> <?php generate_do_microdata( 'header' ); ?>> <div <?php generate_do_element_classes( 'inside_header' ); ?>> <div class="site-logo"> <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo(); ?>" rel="home"> <img class="header-image lazyloaded" alt="<?php bloginfo(); ?>" src="<?php $custom_logo_id = get_theme_mod('custom_logo'); $image = wp_get_attachment_image_src($custom_logo_id , 'full'); echo $image[0]; ?>" title="<?php bloginfo(); ?>" data-lazy-src="<?php $custom_logo_id = get_theme_mod('custom_logo'); $image = wp_get_attachment_image_src($custom_logo_id , 'full'); echo $image[0]; ?>"> </a> </div> </div> </header>
- This reply was modified 4 years, 6 months ago by emmanuelad.
Forum: Plugins
In reply to: [AMP] Is there a way to remove the AMP internal validation?We really don’t need an internal validador as we have external ones.
The validator makes the wp-admin slow and adds unnecessary data on:
edit.php?post_type=amp_validated_url
and
edit-tags.php?taxonomy=amp_validation_error&post_type=amp_validated_urlCan we remove that completely with a custom function?
Thanks