Ravikumar Patel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Update old comments with new registered user email address?1) After change user email not change on comments email address. so after change on your comment’s old email so this issue generate.
now comment auto reply plugin take parent comment email for reply so u can change just go first comments setting, find user parent comment and quick edit and change old email to new one. now
UPDATE wp_comments SET comment_author_email = REPLACE( comment_author_email, '[email protected]', '[email protected]' )
second thing modify plugin file line no 31.
get $comment_parent to user id and get user id to user email.or profile update hook on apply wp_comments folder user email id change based on id.
Forum: Fixing WordPress
In reply to: Redirect Pageyes but u have forget about target=”blank” assign step so your shop link open on same tab.
so user mind redirect to your shop site but whats about your blog.
Forum: Fixing WordPress
In reply to: Hyperlinks appear off the line in published post…@sureenjoyedit U have use any tag but manage all based on css. all tags are same on blog so manage everywhere.
i have seen grill and pan both links are separate so create some diff look like both links are different.
u have create some custom css included with(DIV ARTICLE DIV.entry-content P SPAN) with top:10px !important so generate error.
go at devi theme custom css option or remove it or add css which i have given to u.
Thanks
Forum: Fixing WordPress
In reply to: Related postsDefine your cat id hear ‘category__in’ => array(2, 6),
<?php $orig_post = $post; global $post; $args = array( 'category__in' => array(2, 6), 'post__not_in' => array($post->ID), 'posts_per_page' => 2, 'caller_get_posts' => 1 ); $my_query = new wp_query($args); if ($my_query->have_posts()) { echo '<div id="related_posts"><h3>Related Posts</h3><ul>'; while ($my_query->have_posts()) { $my_query->the_post(); ?> <li><div class="relatedthumb"><a href="<? the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail(); ?></a></div> <div class="relatedcontent"> <h3><a href="<? the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <?php the_time('M j, Y') ?> </div> </li> <? } echo '</ul></div>'; } $post = $orig_post; wp_reset_query(); ?>
Forum: Fixing WordPress
In reply to: Related postsRelated Posts by Category
<?php $orig_post = $post; global $post; $categories = get_the_category($post->ID); if ($categories) { $category_ids = array(); foreach ($categories as $individual_category) $category_ids[] = $individual_category->term_id; $args = array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'posts_per_page' => 2, // Number of related posts that will be shown. 'caller_get_posts' => 1 ); $my_query = new wp_query($args); if ($my_query->have_posts()) { echo '<div id="related_posts"><h3>Related Posts</h3><ul>'; while ($my_query->have_posts()) { $my_query->the_post(); ?> <li><div class="relatedthumb"><a href="<? the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail(); ?></a></div> <div class="relatedcontent"> <h3><a href="<? the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <?php the_time('M j, Y') ?> </div> </li> <? } echo '</ul></div>'; } } $post = $orig_post; wp_reset_query(); ?>
Forum: Fixing WordPress
In reply to: Blog posts not showing up on the blog pageplease add your site url ? and which theme u have use (name) for customize.
Forum: Fixing WordPress
In reply to: image uploading problemmake the permission on the upload folder 775.
Forum: Fixing WordPress
In reply to: Why is this Random Numbers coming up after every linkare u use AddThis or any sharing plugin?
From the Admin Dashboard:
Settings > AddThis > Advanced Tab
Uncheck the Track address bar shares option.
Forum: Fixing WordPress
In reply to: Login is redirecting me to homepageusing this filter
Redirect to current page after wordpress login
function wpse125952_redirect_to_request( $redirect_to, $request, $user ){ // instead of using $redirect_to we're redirecting back to $request return $request; } add_filter('login_redirect', 'wpse125952_redirect_to_request', 10, 3);
Forum: Fixing WordPress
In reply to: Why is this Random Numbers coming up after every linkWorking very well footer about link please define screen short where u have click and generate error.
Forum: Fixing WordPress
In reply to: Hyperlinks appear off the line in published post…Add this css.
DIV ARTICLE DIV.entry-content P SPAN { left: 0 !important; top: 0 !important; }
Use compress images on site so easy to load first time taken more time.
Forum: Fixing WordPress
In reply to: Fixing Nav menuAdd something like this.
nav { float: left; padding: 8px 0 0; } .site-header { float: left; } .site-title, .site-title a { font-size: 24px; } <a href="https://s2.postimg.org/sclqh6mfd/cmsblogheart.png">screen</a>
Forum: Fixing WordPress
In reply to: Permalinks with WordPress on custom sitehii u have use the_excerpt() function that’s return content with read more options.
if u want to remove this or change permalink url so follow steps .
wp-admin -> settings-> permalink -> then set u want (Post name)etc.
Forum: Fixing WordPress
In reply to: Redirect PageForum: Fixing WordPress
In reply to: how to get my metaslide slideyour flexslider script add between this functions.
jQuery(window).load(function($) { // your scripts hear }