ldalgo
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Modern Events Calendar Lite] Show event author (not organizer)I’ve already found a solution. If someone else needs it, you can do it as follows:
Add this to modern-events-calendar/app/skins/single/default.php AFTER line 76 (for instance)
<?php // Get Author Data $author = get_the_author(); $author_description = get_the_author_meta( 'description' ); $author_url = esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); $author_avatar = get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'wpex_author_bio_avatar_size', 75 ) ); ?> <div class="author-info clr"> <h4 class="heading"><span><?php printf( esc_html__( 'Added by %s', 'text_domain' ), esc_html( $author ) ); ?></span></h4> <div class="author-info-inner clr"> <?php if ( $author_avatar ) { ?> <div class="author-avatar clr"> <a>" rel="author"> <?php echo $author_avatar; ?> </a> </div><!-- .author-avatar --> <?php } ?> <div class="author-description"> <p><?php echo wp_kses_post( $author_description ); ?></p> <p><?php echo do_shortcode('[ksam]');?> →</a><p> </div><!-- .author-description --> </div><!-- .author-info-inner --> </div><!-- .author-info -->Contact author link (if you don’t need it, delete the line with [ksam] shortcode above. Add this to child theme’s functions.php
function bpfr_message_shortcode() { $author = get_the_author(); $message = 'Please sign in to send a message to this author!'; if( is_user_logged_in() ) { return '<a>Contact the author</a>'; } else { return $message; } } add_shortcode( 'ksam', 'bpfr_message_shortcode' );Forum: Plugins
In reply to: [WP FullPage] Sections height on mobileDear manx89,
I am having exactly the same problem now. My website is almost ready. It looks good on my notebook but I’ve suddenly found out that it is not readable on mobile phones.
I may spend weeks trying to find a solution.
Maybe, you could share the changes you made to css… This would be of great help to me.Forum: Plugins
In reply to: [WP FullPage] Adding integrated menu to fullpageHi,
I have solved my problem. It is more or less clear to me now how to add menus to headers. 🙂
Again, thanks for the plugin, Julien!
Viewing 3 replies - 1 through 3 (of 3 total)