scifizoe
Forum Replies Created
-
Forum: Plugins
In reply to: [TT Extra Fee Option for WooCommerce] Minimum order not workingI swapped out pro for the base version and that does not work as well.
Forum: Plugins
In reply to: [Contact Form 7] PDF over 2MB not uploading@staartmees yes, as I stated above I set it to limit:5MB
I changed out the dropdown for the checklist and it shows.. just out of the form… has anyone seen this?
Forum: Plugins
In reply to: Looking for a 'like' pluginI’m currently using the WTI Like post but find that in same cases the loading icon stays on and does not work. Another plugin option would be appreciated!
Forum: Plugins
In reply to: Category Descriptions – HTML?oops.. forgot to put it in the code box…
<br /> and <p />
Forum: Plugins
In reply to: Category Descriptions – HTML?when using a break or paragraph, be sure to close the tag:
<p />
Forum: Plugins
In reply to: Adding a div to external links in custom navAh! very cool.. got it figured out using the Walker and setting a conditional if the target item is _blank! Worked like a charm.
Forum: Plugins
In reply to: Adding a div to external links in custom navI believe what I am looking for is some sort of conditional if it’s an external link or if it has the ‘openLink’ class set. I realize that the above is not correct. Can you add a conditional like that?
Forum: Themes and Templates
In reply to: Conditional on Author PageHere’s the full author.php file with the two blocks I want conditioned to only show when you click the correct link to this page.
<?php /** * The template for displaying Author Archive pages. * * Used to display archive-type pages for posts by an author. * * Learn more: https://codex.www.ads-software.com/Template_Hierarchy * * @package WordPress * @subpackage Boston_Financial * @since Boston Financial 1.0 */ get_header(); ?> <section id="primary" class="site-content"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <?php /* Queue the first post, that way we know * what author we're dealing with (if that is the case). * * We reset this later so we can run the loop * properly with a call to rewind_posts(). */ the_post(); ?> <header class="archive-header"> <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'bostonfinancial' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> </header><!-- .archive-header --> <?php /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); ?> <?php bostonfinancial_content_nav( 'nav-above' ); ?> <?php // If a user has filled out their description, show a bio on their entries. if ( get_the_author_meta( 'description' ) ) : ?> <div class="author-info"> <div class="author-avatar"> <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'bostonfinancial_author_bio_avatar_size', 60 ) ); ?> </div><!-- .author-avatar --> <div class="author-link"> <a class="btnMain" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> Contact <?php echo the_author_meta('first_name'); ?> » </a> </div><!-- .author-link --> <div class="author-description"> <h2><?php printf( __( 'About %s', 'bostonfinancial' ), get_the_author() ); ?></h2> <p><?php the_author_meta( 'description' ); ?></p> </div><!-- .author-description --> </div><!-- .author-info --> <?php endif; ?> <!-- this only to show when clicking to contact author --> <?php echo do_shortcode("[contact-form-7 id='781' 'Contact Author']"); ?> <!-- this only to show when clicking view articles or bio info --> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php bostonfinancial_entry_meta(); ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php abyline_authordate(); ?> <?php the_excerpt(); ?> <?php endwhile; ?> <?php bostonfinancial_content_nav( 'nav-below' ); ?> <?php else : ?> <?php get_template_part( 'content', 'none' ); ?> <?php endif; ?> </div><!-- #content --> </section><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>