WordPress.org

Ready to get started?Download WordPress

Forums

change figcaption and/or quote caption location in quote post format (2 posts)

  1. RazelDazel2
    Member
    Posted 1 year ago #

    i am editing the quote post format and i am having a hard time moving the quote caption. it is embedded in the entry meta or entry content; however, i would like to use it as a source reference. it looks something like this: http://codisha.net/wordpress/2013/05/23/changing-the-loaction-of-the-quote-caption/

    note: if you browse around you will have to keep replacing the IP with codisha.net
    it's a dev server

    code:

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<header class="entry-header-other">
    		<div class="entry-meta-other">
    			<div class="meta-edit"><?php edit_post_link( __( 'Edit', 'optima' ), '<span class="edit-link">', '</span>' ); ?></div>
    			<div class="meta-cat"><?php the_category( ' » ' ); ?></div>
    		</div><!-- .entry-meta -->
    
    		<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    		<div class="entry-meta-other">
    			<span class="meta-author">by: <?php the_author(); ?></span> 
    			<span class="meta-source">Source: </span>
    			<figcaption class="quote-caption"><?php get_post_meta('quote_source_name'); ?></figcaption>
    		</div><!-- .entry-meta -->
    	</header><!-- .entry-header -->
    
    	<span class="entry-content-other">
    		<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'optima' ) ); ?>
    		<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'optima' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
    	</span><!-- .entry-content -->
    
    	<footer class="entry-meta-other">
    		<?php optima_entry_meta(); ?>
    		<?php if ( comments_open() && ! is_single() ) : ?>
    		<span class="comments-link">
    			<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'optima' ) . '</span>', __( 'One comment so far', 'optima' ), __( 'View all % comments', 'optima' ) ); ?>
    		</span><!-- .comments-link -->
    		<?php endif; // comments_open() ?>
    		<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
    			<?php get_template_part( 'author-bio' ); ?>
    		<?php endif; ?>
    	</footer><!-- .entry-meta -->
    </article><!-- #post -->
  2. RazelDazel2
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic