btruxell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Updating portfolio URL with embedded imagesThanks so much. i will give this a try shortly. I’m a bit apprehensive but it should work.
Cheers
Forum: Fixing WordPress
In reply to: Updating portfolio URL with embedded imagesThanks for the reply, Steve. Will it work for only part of the url? Say the image url is https://somethinghdr.smugmug.com/RecentUploads/i-nqd3jp3/A, I would only want to replace the first part.
Regards,
BradForum: Themes and Templates
In reply to: [Virtue] Remove Navigation buttons on blogPerfect! Thanks so much!
Forum: Themes and Templates
In reply to: [Virtue] Date box is not lining up with blog post titleYou are awesome! You should be awarded for both the theme design and the support!
Thanks for all the help you have given me!
Brad
Forum: Themes and Templates
In reply to: [Virtue] Remove Footer on main blog pageAwesome, thanks!
Forum: Themes and Templates
In reply to: [Virtue] Infinite ScrollFor those of you looking to make this work. I have found the selectors for this theme with the help of the developer….
#content
.wp-pagenavi
.wp-pagenavi .next
.post
Forum: Themes and Templates
In reply to: [Virtue] Comment on pagesAlso, I think you put the comment div on the wrong php file… This looks like the php file for the main blog page, not individual page posts.
Forum: Themes and Templates
In reply to: [Virtue] Comment on pagesHere is my page.blog.php file. Just replace this php file with yours. I would suggest you make a copy of your current file in case this one doesn’t work for you.
<?php
/*
Template Name: Blog
*/
?><div id=”pageheader” class=”titleclass”>
<div class=”container”>
<?php get_template_part(‘templates/page’, ‘header’); ?>
</div><!–container–>
</div><!–titleclass–><div id=”content” class=”container”>
<div class=”row”>
<?php if(kadence_display_sidebar()) {$display_sidebar = true; $fullclass = ”;} else {$display_sidebar = false; $fullclass = ‘fullwidth’;}
global $post; if(get_post_meta( $post->ID, ‘_kad_blog_summery’, true ) == ‘full’) {$summery = ‘full’; $postclass = “single-article fullpost”;} else {$summery = ‘normal’; $postclass = ‘postlist’;} ?>
<div class=”main <?php echo kadence_main_class();?> <?php echo $postclass .’ ‘. $fullclass; ?>” role=”main”>
<?php global $post; $blog_category = get_post_meta( $post->ID, ‘_kad_blog_cat’, true );
if($blog_category == ‘-1’ || $blog_category == ”) {
$blog_cat_slug = ”;
} else {
$blog_cat = get_term_by (‘id’,$blog_category,’category’);
$blog_cat_slug = $blog_cat -> slug;
}$blog_items = get_post_meta( $post->ID, ‘_kad_blog_items’, true );
if($blog_items == ‘all’) {$blog_items = ‘-1’;}$temp = $wp_query;
$wp_query = null;
$wp_query = new WP_Query();
$wp_query->query(array(
‘paged’ => $paged,
‘category_name’=>$blog_cat_slug,
‘posts_per_page’ => $blog_items));
$count =0;
if ( $wp_query ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
<?php if($summery == ‘full’) {
if($display_sidebar){
get_template_part(‘templates/content’, ‘fullpost’);
} else {
get_template_part(‘templates/content’, ‘fullpostfull’);
}
} else {
if($display_sidebar){
get_template_part(‘templates/content’, get_post_format());
} else {
get_template_part(‘templates/content’, ‘fullwidth’);
}
}
endwhile; else: ?>
<li class=”error-not-found”><?php _e(‘Sorry, no blog entries found.’, ‘virtue’); ?>
<?php endif; ?><?php if ($wp_query->max_num_pages > 1) : ?>
<?php if(function_exists(‘kad_wp_pagenavi’)) { ?>
<?php kad_wp_pagenavi(); ?>
<?php } else { ?>
<nav class=”post-nav”>
<ul class=”pager”>
<li class=”previous”><?php next_posts_link(__(‘← Older posts’, ‘virtue’)); ?>
<li class=”next”><?php previous_posts_link(__(‘Newer posts →’, ‘virtue’)); ?></nav>
<?php } ?>
<?php endif; ?>
<?php $wp_query = null; $wp_query = $temp; // Reset ?>
<?php wp_reset_query(); ?></div><!– /.main –>
Forum: Themes and Templates
In reply to: [Virtue] Comment on pagesWhat is the name of the PHP file that you modified in WordPress for the comments?
Forum: Themes and Templates
In reply to: [Virtue] Comment on pagesThe only thing that I could think of is you may have removed a div for the page’s actual content when inserting the comment div.
Forum: Themes and Templates
In reply to: [Virtue] Categories in Full-Width?That worked! Thanks so much for the quick reply!
Forum: Themes and Templates
In reply to: [Virtue] Infinite ScrollThanks again. I will see if I can get any answers from the developers of the plugin.
Thank you,
BradForum: Themes and Templates
In reply to: [Virtue] Infinite ScrollThank you for the quick reply. However, it didn’t seem like those selectors worked to create an infinite scrolling feature. Should I be using “#” instead of a period on some of them?
Thanks,
BradForum: Themes and Templates
In reply to: [Virtue] Comment on pagesPerfect! It worked.
Thanks so much!
BradForum: Themes and Templates
In reply to: [Virtue] Blurry Pictures?Thanks for the quick reply! I will add that to the custom CSS. I did figure out the full page width on posts and pages. However, if you click a category on a post, the categories are listed as a half page post with sidebar. Can I make the categories full widths as well?
Thanks again!
Brad