lance1572
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] Simple check to see if user has a gravatar or descriptionThis seemed to have worked…luck i guess ??
<?php if (has_post_thumbnail( $curauth->ID ) ):?> <?php echo coauthors_get_avatar( $curauth, 170 ); ?> <?php endif; ?>
Forum: Plugins
In reply to: [Co-Authors Plus] How do I make it work? Avada themeLooks like you added it in on line 93…did it work for you? That template has got a lot of code in there whoa!…..
Forum: Plugins
In reply to: [Co-Authors Plus] Using the functions within templateOk. I totally went about this the wrong way. If anyone has similar issues. Instead directly putting them in my template. I put it in my functions file.
if ( ! function_exists( 'jemma_ev_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. */ function jemma_ev_posted_on() { if ( function_exists( 'coauthors_posts_links' ) ) : printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'jemma_ev' ), 'meta-prep meta-prep-author', sprintf( '<span class="entry-date">%3$s</span>', get_permalink(), esc_attr( get_the_time() ), get_the_date() ), coauthors_posts_links( null, null, null, null, false ) ); else: printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'jemma_ev' ), 'meta-prep meta-prep-author', sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', get_permalink(), esc_attr( get_the_time() ), get_the_date() ), sprintf( '<span class="article-author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', get_author_posts_url( get_the_author_meta( 'ID' ) ), esc_attr( sprintf( __( 'View all posts by %s', 'jemma_ev' ), get_the_author() ) ), get_the_author() ) ); endif; } endif;
and within my content.php file I just called the function where I needed it, like so
jemma_ev_posted_on();
Forum: Plugins
In reply to: [Co-Authors Plus] Co Authors bypassing custom author templateNada nothing? Alright, I’ll keep digging and see if I can rewrite something. I will add the fix here if I find it. Im sure someone else has had this happen.
Forum: Plugins
In reply to: [Participants Database] Using WP-Mail-SMTP but not receivingSorry if I’m way off. How are your emails getting delivered? What email provider are you using? If gmail, there are some set up steps involved with them to get WP to send SMTP. I haven’t used Participants DB, but I wouldn’t imagine that the data would affect the emails.
I use POSTMAN smtp to send emails and have had great success. Again, sorry If im way off.
- This reply was modified 8 years, 1 month ago by lance1572.
Forum: Fixing WordPress
In reply to: Place div over imagei see that I can edit or write a function to wrap a div and then in the css add :before psuedo to add the element. I think I will try that.
Forum: Localhost Installs
In reply to: Database error when installingI just tried it in AMPPS. It shows no error. So give AMMPS a try.
Forum: Localhost Installs
In reply to: Database error when installingI get this too. I moved over to XAMPP a few weeks back but haven’t installed WP on it. I tried it today and met with the same error and message.
I also noticed too that I have to manually load the wp-config file which I never had to do before. I might move over to AMPPS for the time being to see if i get the same results.
Unfortunately I cannot offer a solution at this time.
Lance
Gotcha! Much appreciated!
I’m not sure where this is but I’ve downloaded the latest version and it doesn’t have that selection in the advanced config. I see that the init area in the frontend.php has been re-written. Not sure where to put the init_ops var. Any help help would be greatly appreciated!!!
Thanks!