Chirag Swadia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Sugar and Spice Theme Footer TroubleFirst of all revert back to the old footer and then find the line in footer that says
<a href="https://www.ads-software.com/" rel="generator"><?php printf( __( 'Proudly powered by %s', 'sugarspice' ), 'WordPress' ); ?></a>
Delete the above line completely and replace it with
<?php _e('Copyright 2014, Curvy Fit Mum. All Rights Reserved.','sugarspice'); ?>
Forum: Fixing WordPress
In reply to: Skipping to the Last post in a loop – with PaginationYou can get the page number of the last page by the following code
global $wp_query; $last_page_number = $wp_query->max_num_pages; $last_page_url = https://yoursite.com/comic/page/'.$last_page_number;
You can use the $last_page_url variable in an anchor link for going to the last post in the loop.
Hope this solves your problem ?
Forum: Fixing WordPress
In reply to: How to create a Page index of blog PostsForum: Themes and Templates
In reply to: [Decode] Featured Image repeatingThat’s great ??
Forum: Themes and Templates
In reply to: [Decode] Featured Image repeatingI checked the Decode theme on my wordpress installation and found that featured image appears in blog page on top of title.
Featured image does not appear automatically on single post pages.
If you want to remove the featured image from appearing in blog page, then you can remove the following code from content.php file in the theme.
<?php if ( has_post_thumbnail() ) : ?> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" > <?php the_post_thumbnail(); ?> </a> <?php endif; ?>
Does this help ?
Forum: Themes and Templates
In reply to: [Decode] Featured Image repeatingI think this might help.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Headerimage not showing up in childthemeHave you overridden the header.php file from the parent theme to your child theme ?
Forum: Installing WordPress
In reply to: which should i do first: update wordpress or plugins?First of all you should setup a clone wordpress website with the same settings as your live site. Eg. dev.yourwebsite.com
Then go for updating the plugins and wordpress core on the clone site. if everything goes well, Then you can update the live site as well.
I do it almost all of the time for wp or plugin updates.