sagilca
Forum Replies Created
-
The design is for a blog imported from blogger with dozens of posts alrwady written, so ;)… but thanks for teh suggestion! ??
Forum: Themes and Templates
In reply to: [Customizr] Bug? Circled thumbnails don't link to postsThanks, @nikeo. And thanks so much for your work! And yes, I use a child theme for my customizations :).
@mitchpowell, did you remove the “<div class=”round-div”></div>” part? It works for me (hand cursor and link)
Ok, so I managed to do it :). Just in case it is useful, here is how I did it:
I edited class-content-post.php (in a child theme) and just after:
<section class="entry-content <?php echo $icon_class ?>">
I added:
<a class="imagendestacada grouped_elements" rel="tc-fancybox-group<?php echo $post -> ID ?>" href="<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,'large', true); echo $image_url[0]; ?>"> <?php the_post_thumbnail('medium'); ?> </a>
Forum: Themes and Templates
In reply to: [Customizr] Bug? Circled thumbnails don't link to postsOk, so I edited class-content-post_list.php and changed the line after “//default hover effect” to this:
$thumb_wrapper = sprintf('<div class="thumb-wrapper %1$s"><a class="round-div %1$s" href="%2$s" title="%3$s"></a>%4$s</div>'
(I removed
<div class="round-div"></div>
)And now the links work. Is it OK to do this?
Thanks ??
For me it’s just about any custom change I’ve made into the php files. I don’t get it?
Two examples:
1) for the navigation I am using a plugin and I call it editing the “file class-content-post_navigation.php” changing the code copied below. Before teh update it was working, now it only works if I edit directly the Customizr file. This happens with several similar changes in several files. Am I missing something?
Change to class-content-post_navigation.php:
<?php elseif ( $wp_query->max_num_pages > 1 && !is_404() && !tc__f( ‘__is_home_empty’) ) : ?><nav id=”<?php echo $html_id; ?>” class=”navigation” role=”navigation”>
<?php wp_pagenavi(); ?>
</nav><!– #<?php echo $html_id; ?> .navigation –><?php endif; ?>
2) I am using a related plugins and I call it at class-content-post.php adding <?php echo do_shortcode( ‘[manual_related_posts]’ ); ?>
after <?php do_action( ‘__after_content’ ) ?> . It was working OK but after the upgrade doesn’t show up.