antoniopaim
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: the_post_thumbnail with tag alt or titleThanks!
In fact I have problems, because users don’t fill in the “alt” tag and WP is taking the file name and automatically putting it in the “alt” and “title” tag of the image.
As a quick fix, as there are millions of images, I need the “alt” or “title” tag to be filled with the post title. It’s one image per post only.
I tried like this… but without success
the_post_thumbnail( ‘thumbnail’, [ ‘alt’ => esc_html ( the_title() ) ] ); or
the_post_thumbnail( ‘thumbnail’, [ ‘alt’ => esc_html ( get_the_title() ) ] );
Forum: Plugins
In reply to: [Ultimate Blocks - WordPress Blocks Plugin] Change icomThanks!
Forum: Plugins
In reply to: [Ultimate Blocks - WordPress Blocks Plugin] Change icomSo I can’t use another icon than what you offer? Not even editing the CSS? I wish icon plus was more like that. Thanks!
Forum: Plugins
In reply to: [The Events Calendar] Insert the page of the organizer version in my templateThanks Gustavo.
Forum: Plugins
In reply to: [The Events Calendar] Insert the page of the organizer version in my templateCompleting: on this page that I want to include the calendar, it runs a query that loads a list of posts, below the calendar.
Thanks!
Forum: Plugins
In reply to: [The Events Calendar] Insert the page of the organizer version in my templateExcuse me. I reported incorrectly. The file I need to include in my template is the month.php code. I tried to open and copy all the code, but an error occurs.
<?php $header_classes = [ 'tribe-events-header' ]; if ( empty( $disable_event_search ) ) { $header_classes[] = 'tribe-events-header--has-event-search'; } ?> <div <?php tribe_classes( $container_classes ); ?> data-js="tribe-events-view" data-view-rest-nonce="<?php echo esc_attr( $rest_nonce ); ?>" data-view-rest-url="<?php echo esc_url( $rest_url ); ?>" data-view-rest-method="<?php echo esc_attr( $rest_method ); ?>" data-view-manage-url="<?php echo esc_attr( $should_manage_url ); ?>" <?php foreach ( $container_data as $key => $value ) : ?> data-view-<?php echo esc_attr( $key ) ?>="<?php echo esc_attr( $value ) ?>" <?php endforeach; ?> <?php if ( ! empty( $breakpoint_pointer ) ) : ?> data-view-breakpoint-pointer="<?php echo esc_attr( $breakpoint_pointer ); ?>" <?php endif; ?> > <div class="tribe-common-l-container tribe-events-l-container"> <?php $this->template( 'components/loader', [ 'text' => __( 'Loading...', 'the-events-calendar' ) ] ); ?> <?php $this->template( 'components/json-ld-data' ); ?> <?php $this->template( 'components/data' ); ?> <?php $this->template( 'components/before' ); ?> <header <?php tribe_classes( $header_classes ); ?>> <?php $this->template( 'components/messages' ); ?> <?php $this->template( 'components/breadcrumbs' ); ?> <?php $this->template( 'components/events-bar' ); ?> <?php $this->template( 'month/top-bar' ); ?> </header> <?php $this->template( 'components/filter-bar' ); ?> <div class="tribe-events-calendar-month" role="grid" aria-labelledby="tribe-events-calendar-header" aria-readonly="true" data-js="tribe-events-month-grid" > <?php $this->template( 'month/calendar-header' ); ?> <?php $this->template( 'month/calendar-body' ); ?> </div> <?php $this->template( 'components/messages', [ 'classes' => [ 'tribe-events-header__messages--mobile' ] ] ); ?> <?php $this->template( 'month/mobile-events' ); ?> <?php $this->template( 'components/ical-link' ); ?> <?php $this->template( 'components/after' ); ?> </div> </div> <?php $this->template( 'components/breakpoints' ); ?>
Forum: Plugins
In reply to: [Claudio Sanches - Correios for WooCommerce] Problemas com a nova vers?oBom dia. Eu estou com o mesmo problema. Está tudo configurado, mas ao fazer o checkout no carrinho, informando CEP, n?o é exibido a informa??o para escolha da forma de envio (SEDEX, PAC etc.)
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Plugin block in firewallI did the same test on another site that is hosted elsewhere and the plugin worked. So I wondered if it could be some Google URL being blocked.
Thanks!