Md Asif Ullah Chowdhury
Forum Replies Created
-
Awesome! you can use w3 total cache, just don’t combine javascript files. That was creating the problems. I hope that helps.
Deactivate all the plugins except jetpack and clear cache before deactivating the cache plugin, there is a jQuery error. This is the reason carousel and tiled gallery isn’t loading. Let me know when you have deactivated the plugins so that I can check.
Forum: Themes and Templates
In reply to: [Gridster-Lite] Move the left sidebarYou are welcome. ??
For the record I am not the creator of the theme and also not affiliated with the theme developer any way. I just wanted to help you out.Forum: Themes and Templates
In reply to: Add avatar supportI am delighted to be able to come to the aid. ??
cheers
Forum: Themes and Templates
In reply to: Add avatar supportjust for testing remove replace those with the following
$args = array( 'style' => 'div', 'avatar_size' => 72, );
I think that callback function has something to do with this issue.
Forum: Themes and Templates
In reply to: Add avatar supporton your comments.php file replace
$args = array( 'style' => 'div', 'callback' => 'comment_tmp', 'reverse_top_level' => true, );
with
$args = array( 'style' => 'div', 'callback' => 'comment_tmp', 'reverse_top_level' => true, 'avatar_size' => 72, );
Forum: Themes and Templates
In reply to: Add avatar supportCan you please recheck if you have avatars enabled in discussion settings? It I dont see any avatars for both of the comments.
Forum: Themes and Templates
In reply to: [Gridster-Lite] Move the left sidebaryes definitely, I just checked the theme doesnt have theme settings. you have to add a custom css to change the layout, the process is pretty simple.
Just create a child theme and add the following css to the child theme’s style.css file
div#sidebar { float: right; }
just in case you need it Child Theme
Forum: Themes and Templates
In reply to: Add avatar supportprovide me the url of your site, I have to see whats happening. I dont see anything wrong with the comments.php file
Forum: Themes and Templates
In reply to: Add avatar supporton your comments.php file
remove the following
17th line the ending comma “,”
18th line remove “‘get_avatar’ =>” its not a designated argumentHope this helps. If its still not working, let me know, I’ll try to help.
Forum: Fixing WordPress
In reply to: Pagination Broken on Custom Loop – Showing Same Posts on Each Pagehello,
The issue is with “offset” in custom query if you use offset, pagination brakes down.
use the following code and pagination will work properly,<?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } $args = array('posts_per_page' => 10, 'cat'=> 17, 'paged' => $paged ); query_posts($args); ?> <!-- the loop --> <?php if ( have_posts() ) : while (have_posts()) : the_post(); ?> <!-- rest of the loop --> <div class="news_content"> <?php $catArray = array( "Health & Research", "Industry News", "International News", "Beginners Guide", "Ecig Technology", "Government & FDA", "Tips & Tricks", "Mini Review", "Ecig Promotions", "Other News" ); foreach(get_the_category() as $catcheck) { if (in_array($catcheck->cat_name, $catArray)){ $category_link = get_category_link( $catcheck->term_id ); echo "<h3 class='ecig cat-id-".$catcheck->term_id."'><a href='".esc_url( $category_link )."'>". $catcheck->cat_name ."</a></h3>"; echo '<h5>'.get_the_date(). '</h5>'; echo '<div class="person"><h4>'.__('By: ', 'ultimatum'). get_the_author().'</h4></div>'; echo '<div class="clear"></div>'; }else{ // do nothing } }?> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );?> <?php the_post_thumbnail('full'); ?> <?php the_excerpt(); ?> <div class="news_share"> <ul class="rrssb-buttons"> <li class="arrow"><a href="<?php the_permalink(); ?>">READ THE FULL STORY</a></li> <li class="comments"><a href="<?php comments_link(); ?>"><?php comments_number( '0', '1', '%' ); ?> COMMENTS</a></li> <li><a class="fb_icon popupshare" href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>"></a></li> <li><a class="tw_icon popupshare" href="https://twitter.com/home?status=<?php the_title(); ?>%20<?php the_permalink(); ?>"></a></li> <li><a class="g_icon popupshare" href="https://plus.google.com/share?url=<?php the_title(); ?>%20<?php the_permalink(); ?>"></a></li> <li><a class="in_icon popupshare" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>&summary=<?php the_excerpt(); ?>"></a></li> <li><a class="p_icon popupshare" href="https://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php echo $url;?>&description=<?php the_title(); ?>"></a></li> <li><a class="mail_icon popupshare" href="mailto:?subject=<?php the_title(); ?>&body=<?php the_permalink(); ?>"></a></li> <li class="share_icon"><a>SHARE</a></li> </ul> <div class="clear"></div> </div> </div> <!-- the title, the content etc.. --> <?php endwhile; ?> <!-- pagination --> <div class="posts"> <?php next_posts_link('VIEW OLDER POSTS'); ?> <?php previous_posts_link('VIEW NEWER POSTS'); ?> </div> <?php else : ?> <!-- No posts found --> <?php endif; ?>
Hope that helps.
On WordPress-Form, at the Form Element there is an element called “Content Selection“. Use that to create hidden input fields.
Forum: Fixing WordPress
In reply to: Importing from wordpress hosted site – fatal errorHi Benjamin,
I’m also having the same problem with wordpress import. But when I tried to do it on my locally hosted wamp server, this problem did not show up!!!So I think this is a problem with the server’s php execution time. I’ll let you know if there is an update.
Thank you
I solved it.