Sunder Deep Dasna
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to add class to anchor using wp_nav_menu<script> jQuery(document).ready(function($){ $('ul.what-ever-class li').last().addClass('last'); }); </script>
Hopefully this will work for you.
Forum: Themes and Templates
In reply to: Author page paginationAre you using author.php?
Are you using Query_posts() in author.php?
How do you use the loop in your code?
Please show your code of snippet of loop and pagination.
Forum: Themes and Templates
In reply to: Author page paginationquery_posts() or WP_Query should not be used in the author.php.
Pagination is shown in the author.php by using the plugin WP PAge Navi or any other plugin.Hopefully this will work for you.
Forum: Themes and Templates
In reply to: Display Featured Image in index.phpHow do you include the template.php in index.php?
Forum: Themes and Templates
In reply to: Display Featured Image in index.phpYou want to show feature image in homepage or inner page.
Forum: Themes and Templates
In reply to: How to add class to anchor using wp_nav_menuYou can use walker class also.
See https://shinraholdings.com/62/custom-nav-menu-walker-function/#example-code
Forum: Themes and Templates
In reply to: How to add class to anchor using wp_nav_menuYou can use the js for this.
But above one is better solutions.
Forum: Installing WordPress
In reply to: mising wp-config fatal errorHi,
Does there wp files in the web root which had file size of 0 bytes?
Forum: Themes and Templates
In reply to: How to add class to anchor using wp_nav_menuIn the wp-admin, go to Appearance -> Menus,
put the class on the menu item here “CSS Classes (optional)”. This will be applied on
<li></li>
[Code that wrecked the forums fixed]
.If you can’t see the “CSS Classes (optional)” in the menu item, then there is “Screen Option” in the right top of the screen and there are the options “CSS Class” under “Show advanced menu properties”.
Forum: Themes and Templates
In reply to: Display Featured Image in index.phpAre you working on the index.php or template.php?
Forum: Fixing WordPress
In reply to: SIte cannot load. Cannot access admin.Please delete the plugin using ftp or cpanel which causes error.
If not working then reply.
Forum: Plugins
In reply to: [Nav Menu Images] border around imageHi,
Kindly you provide the link where the blue border is appearing.
Thanks
Forum: Fixing WordPress
In reply to: 3.6.1 update errorplugin “WooCommerce – Gravity Forms Product Add-Ons” creates problem.
Any solutions?
Forum: Fixing WordPress
In reply to: 3.6.1 causes server errorsI have faced same problem when I updated WP to 3.6.1 version.
Error is ” Call to undefined function wp_validate_redirect()”.
Please suggest for this.
Thanks
Forum: Fixing WordPress
In reply to: Can you select non-breaking spaces in CSS?function user_content_replace($content) {
return str_replace(‘<p> </p>’,'<p class=”example”> </p>’,$content);
}
add_filter(‘the_content’,’user_content_replace’, 99);Class ‘example’ is aded in this way.
FSORCE: https://stackoverflow.com/questions/14703924/jquery-select-paragraphs-that-only-contain-nbsp