brianmills
Forum Replies Created
-
Forum: Plugins
In reply to: YouTube thumbnails generate&display automatically in newfeed helpBlog is located at https://fierth.com/a
Forum: Plugins
In reply to: youtube thumbailer [youtube $video_key] tag , where does it go ?Any ideas. ?
Forum: Plugins
In reply to: youtube thumbailer [youtube $video_key] tag , where does it go ?ps the youtube clips im referring to are the ones in the newsfeed , NOT on the right hand side
Thanks !!Forum: Fixing WordPress
In reply to: Theme thumbnail generation , can it be stopped or altered ?I can’t really tell where that original line to thumbnail it is ; the code I altered was only the line
<?php the_content( ); ?>. The orginal line was <?php echo dp-clean($post->post-content, 300); ?>Can I replace that main page thumbnail with a generic thumbnail for all main page posts easily ?
<?php get_header(); ?>
<!– BEGIN content –>
<div id=”content”>
<?php
$tmp_query = $wp_query;
query_posts(‘cat=’ . get_cat_ID(dp_settings(‘featured’)));
if (have_posts()) :
$first = true;
while (have_posts()) : the_post();
ob_start();
?>
<li<?php if ($first) echo ‘ class=”first”‘; ?>>“><?php dp_attachment_image($post->ID, ‘full’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
<?php
$photos .= ob_get_clean();
ob_start();
?>
<li<?php if ($first) echo ‘ class=”first”‘; ?>>
<h2>“><?php the_title(); ?></h2>
<p><?php echo dp_clean($post->post_content, 300); ?></p>
” class=”readmore”>Read Full Story<?php
$text .= ob_get_clean();
$first = false;
endwhile;
endif;
?><!– begin featured –>
<div class=”featured”>
<div class=”thumb”><div class=”b”>
<ul class=”photo”>
<?php echo $photos; ?><ul class=”text”>
<?php echo $text; ?></div></div>
</div>
<!– end featured –><?php
$wp_query = $tmp_query;
if (have_posts()) :
while (have_posts()) : the_post();
$arc_year = get_the_time(‘Y’);
$arc_month = get_the_time(‘m’);
$arc_day = get_the_time(‘d’);
?><!– begin post –>
<div class=”post”>
<div class=”title”>
<h2>“><?php the_title(); ?></h2>
<p class=”details”>Posted by: <?php the_author_posts_link(); ?> on “><?php the_time(‘M jS, Y’) ?>
</p>
<p class=”comments”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
</div><div class=”l”>
“><?php dp_attachment_image($post->ID, ‘thumbnail’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
</div>
<div class=”r”>
<?php the_content( ); ?>
<p>“></p>
</div><div class=”meta”>
<div class=”tags”>
Tags: <?php the_tags(”); ?>
</div><div class=”undercat”>
Filed Under: <?php the_category(‘, ‘) ?>
</div>
</div></div>
<!– end post –><?php endwhile; else : ?>
<div class=”notfound”>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that is not here.</p>
</div>
<?php endif; ?><!– begin post navigation –>
<!– END content –>
</div>
<?php get_sidebar();get_footer(); ?>
Forum: Fixing WordPress
In reply to: Theme thumbnail generation , can it be stopped or altered ?T is only showing once per page but the problem is on the main page
Forum: Fixing WordPress
In reply to: Theme thumbnail generation , can it be stopped or altered ?I can sontrol the single post but it shows up on the main page as a double thumbnail , it just doesn’t look right that way so i’d like to be have it show up in two different sizes so it doesnt look like an error as it currently does . This issue also effects the share/save link that was at the bottom of the main page post. I remved it to only show in the single post as it was thimbnailing and smooshing a 256×24 image into the 135 x135 space
Ps thank you very for your help yesterday as well with the ‘the content – the excerpt ‘ problem o was having as u can see o fixed that to fond this error .
Forum: Themes and Templates
In reply to: Show Full Post EverywhereI am having the same issue with my mainpage but I don’t have the excerpt tag in my index.php. Do u know of any other places I can try to fix this ? My blog is at https://fierth.com/a and I am using the theme aspiremagazine. Thanks !
<?php get_header(); ?>
<!– BEGIN content –>
<div id=”content”>
<?php
$tmp_query = $wp_query;
query_posts(‘cat=’ . get_cat_ID(dp_settings(‘featured’)));
if (have_posts()) :
$first = true;
while (have_posts()) : the_post();
ob_start();
?>
<li<?php if ($first) echo ‘ class=”first”‘; ?>>“><?php dp_attachment_image($post->ID, ‘full’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
<?php
$photos .= ob_get_clean();
ob_start();
?>
<li<?php if ($first) echo ‘ class=”first”‘; ?>>
<h2>“><?php the_title(); ?></h2>
<p><?php echo dp_clean($post->post_content, 300); ?></p>
” class=”readmore”>Read Full Story<?php
$text .= ob_get_clean();
$first = false;
endwhile;
endif;
?><!– begin featured –>
<div class=”featured”>
<div class=”thumb”><div class=”b”>
<ul class=”photo”>
<?php echo $photos; ?><ul class=”text”>
<?php echo $text; ?></div></div>
</div>
<!– end featured –><?php
$wp_query = $tmp_query;
if (have_posts()) :
while (have_posts()) : the_post();
$arc_year = get_the_time(‘Y’);
$arc_month = get_the_time(‘m’);
$arc_day = get_the_time(‘d’);
?><!– begin post –>
<div class=”post”>
<div class=”title”>
<h2>“><?php the_title(); ?></h2>
<p class=”details”>Posted by: <?php the_author_posts_link(); ?> on “><?php the_time(‘M jS, Y’) ?>
</p>
<p class=”comments”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
</div><div class=”l”>
“><?php dp_attachment_image($post->ID, ‘thumbnail’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
</div>
<div class=”r”>
<p><?php echo dp_clean($post->post_content, 300); ?></p>
<p>“></p>
</div><div class=”meta”>
<div class=”tags”>
Tags: <?php the_tags(”); ?>
</div><div class=”undercat”>
Filed Under: <?php the_category(‘, ‘) ?>
</div>
</div></div>
<!– end post –><?php endwhile; else : ?>
<div class=”notfound”>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that is not here.</p>
</div>
<?php endif; ?><!– begin post navigation –>
<?php if(function_exists(‘wp_page_numbers’)) { wp_page_numbers(); } ?><!– END content –>
</div>
<?php get_sidebar();get_footer(); ?>
Forum: Themes and Templates
In reply to: Aspiremagazine theme : sidebar questionThanks again !! I wasn’t sure if it was just completely obliteratng the orignal code and would appear a mess on everyones screen besides mine .
Forum: Themes and Templates
In reply to: Aspiremagazine theme : sidebar questionThey seem to disappear , the theme came with that orbitng tag cloud thing that never worked , I would like to make it slot more graphic based
Cheers !
Forum: Themes and Templates
In reply to: Main page post question – NSFWThanks ill try it out tonight. You guys are great .
Forum: Themes and Templates
In reply to: Main page post question – NSFWThis seems like the opposite of what. Was looking for but if my thinking is correct ( I’m new with wordPress) I should just have to switch the excerpt tag for the content tag , is this correct? Which template is that in ?
Forum: Themes and Templates
In reply to: Main page post question – NSFWPs I have already cheked full post on reading section of settings