shancat
Forum Replies Created
-
I’m getting the opposite results on the search pages and the download categories. The search pages are missing the images, and the download category pages are missing the purchase link. I’d like them both to include everything. I know you’re not in charge of my theme but can you suggest how to get the imagess to show in the search pages?
This is my current content.php
<?php
/**
* Displays
*
* @package estate
* @since estate 1.0
* @license GPL 2.0
*/
?><article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header class=”entry-header”>
<?php if(has_post_thumbnail()) : ?>
<div class=”entry-thumbnail”>
” title=”<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘estate’ ), the_title_attribute( ‘echo=0’ ) ) ); ?>” rel=”bookmark”>
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?><h1 class=”entry-title”>” title=”<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘estate’ ), the_title_attribute( ‘echo=0’ ) ) ); ?>” rel=”bookmark”><?php the_title(); ?></h1>
<?php if ( ‘post’ == get_post_type() ) : ?>
<div class=”entry-meta”>
<?php estate_posted_on(); ?>
</div><!– .entry-meta –>
<?php endif; ?></header><!– .entry-header –>
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
<div class=”entry-summary”>
<?php the_excerpt(); ?>
</div><!– .entry-summary –><?php if( get_post_type() == ‘download’ ) { echo edd_get_purchase_link(); } ?>
<?php else : ?>
<div class=”entry-content”>
<?php the_content( __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘estate’ ) ); ?>
<?php wp_link_pages( array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘estate’ ), ‘after’ => ‘</div>’ ) ); ?>
</div><!– .entry-content –>
<?php endif; ?><?php if( is_single() ) : ?>
<footer class=”entry-meta”>
<?php echo estate_get_post_meta() ?>
<?php edit_post_link( __( ‘Edit’, ‘estate’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</footer><!– .entry-meta –>
<?php endif; ?>
</article><!– #post-<?php the_ID(); ?> –>The purchase link now shows up on the search pages but not the download category pages.
Why is the purchase link text blurry?
https://www.dezigningeye.com/downloads/ani_28/Thanks,
Shannonok. Then what? Sorry for being so ignorant. This isn’t my specialty…
Ok, I found this line in content.php :
<?php the_excerpt(); ?>
and on the next line I placed :
<?php echo edd_get_purchase_link(); ?>Do I first need to rename content.php to content-download.php?
I created a copy. But I don’t see a line that contains “the_excerpt()”
<?php
/**
* The template for displaying Archive pages.
*/get_header(); ?>
<section id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”><?php if ( have_posts() ) : ?>
<header class=”page-header”>
<h1 class=”page-title”><?php echo estate_get_archive_title() ?></h1>
<?php
if ( is_category() ) {
// show an optional category description
$category_description = category_description();
if ( ! empty( $category_description ) )
echo apply_filters( ‘estate_category_archive_meta’, ‘<div class=”taxonomy-description”>’ . $category_description . ‘</div>’ );}
elseif ( is_tag() ) {
// show an optional tag description
$tag_description = tag_description();
if ( ! empty( $tag_description ) )
echo apply_filters( ‘estate_tag_archive_meta’, ‘<div class=”taxonomy-description”>’ . $tag_description . ‘</div>’ );
}
?>
</header><!– .page-header –><?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?><?php get_template_part( ‘content’, get_post_format() ); ?>
<?php endwhile; ?>
<?php estate_content_nav( ‘nav-below’ ); ?>
<?php else : ?>
<?php get_template_part( ‘no-results’, ‘archive’ ); ?>
<?php endif; ?>
</div><!– #content .site-content –>
</section><!– #primary .content-area –><?php get_sidebar(); ?>
<?php get_footer(); ?>A TINY bit…:)
Is there a procedure you can’t point me to so I can change the default?
I’d like the cart button accessible within the category pages.
I tried creating a copy of my archive page and renamed it:
taxonomy-download_category.php but it doesn’t seem to be pulling it.Thank you once again for your prompt response.
Forum: Fixing WordPress
In reply to: Can not access dashboard or wp-adminI’m having the same problem-blank screen when I’m inside the Dashboard. It may work for a little, then the next click brings up the white screen!? It started happening after I added a subdomain. ??? I never saw this before. The new subdomain is using 2014 theme and no new plug-ins.
Forum: Fixing WordPress
In reply to: 3.7.1 Media Library not working properlyYes i have 3.7.1 installed. Just installed it yesterday.
Forum: Fixing WordPress
In reply to: 3.7.1 Media Library not working properlyI have the same problem. I’m new to wordpress and feel very frustrated with this issue.