Shazzad Hossain Khan
Forum Replies Created
-
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] Throws noticesThis is a possibly bug that a JavaScript is being called before wp_enqueue_scripts action is loaded. It will be fix in short.
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] Access denied, no post list availableThis might be a temporary server down of w4dev.com or their host is preventing your request. Make sure your server ip address isn’t mark as spam. However, have you faced the same problem while using this plugin one other server or in your localhost ?
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] Post thumbnails in the listAdded the thumbnail.
Try it now, it should be ok from now.
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] IdeaUse the available order within the plugin. Drag/drop or custom ordering is not possible.
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] Worked fine for me; but no thumbnailsWe have included the thumbnail options only for you !!!
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] IdeaSure. Let me know how u want to order it.
Forum: Plugins
In reply to: [W4 Post List] [Plugin: W4 post list] IdeaWe have plan to add posts by post_tag, author in future.
We will consider showing subcategories after the second next release.
Forum: Plugins
In reply to: [WP Social AutoConnect] [Plugin: WP-FB-AutoConnect] Changing Widget layout?Here is the function. Replace this with the widget function only.
function widget( $args, $instance ) { //Get args and output the title extract( $args ); echo $before_widget; $title = apply_filters( 'widget_title', $instance['title']); //If logged in, show "Welcome, User!" if( is_user_logged_in() ): $userdata = wp_get_current_user(); echo $before_title . __('Welcome') . ', ' . $userdata->display_name . $after_title; ?> <ul> <li><a href="<?php echo admin_url('profile.php'); ?>"><?php _e("Edit Profile"); ?></a></li> <li><a href=" <?php echo wp_logout_url( $_SERVER['REQUEST_URI'] )?>"><?php _e("Logout")?></a></li> </ul> <?php //Otherwise, show the login form (with Facebook Connect button) else: if( $title ) echo $before_title . $title . $after_title; ?> <form name='loginform' id='loginform' action='<?php bloginfo('url')?>/wp-login.php' method='post'> <p><label>Username:</label><br /> <input type='text' name='log' id='user_login' class='input' tabindex='20' /></p> <p><label>Password:</label><br /> <input type='password' name='pwd' id='user_pass' class='input' tabindex='21' /></p> <p><input type='submit' name='wp-submit' id='wp-submit' value='Login' tabindex='23' /> <?php echo wp_register('or ',''); ?><br /> <a href="<?php bloginfo('url'); ?>/wp-login.php?action=lostpassword"><?php _e('Forgot your password')?> ?</a></p> <?php //echo "<input name='rememberme' type='hidden' id='rememberme' value='forever' />";?> <input type='hidden' name='redirect_to' value='<?php echo htmlspecialchars( $_SERVER['REQUEST_URI'])?>' /> </form> <?php global $opt_jfb_hide_button; if( !get_option($opt_jfb_hide_button )){ jfb_output_facebook_btn(); //jfb_output_facebook_init(); This is output in wp_footer as of 1.5.4 jfb_output_facebook_callback(); } ?> <?php endif; echo $after_widget; }
Use admin_url() always for putting a link on the admin section. Like:
admin_url('index.php');
will get you to the dashboardForum: Plugins
In reply to: [W4 Content tabset] [Plugin: Post/Page content tabset] CSS GuideThere won’t be any need of CSS guide for w4 content tabset. Because we are trying to make this fully customizable from the wp-admin section.
However, if you add your own style, don’t add any styling on the rewrite.css file, as it gets updated every time you change your tabset setting with php “fwrite” method. So your code won’t stay if you do save or reset your tabset options after adding your additional css.
Please write W4 content tabset page to get immediate followup.
Are you talking about the double line placed at the closing position of your tabset ?
If so, find the last option of your tabset (“Tabset border bottom color”), and make this color to match your content background color so that the border get matched with it.
We are working to give you more options, so that you can customized your tabset on your way.
Forum: Fixing WordPress
In reply to: Custom taxonomy and query_postsHi deb__j,
Thanks for the correction. I have missed that part. I have wrote a Post/Page Tabset plugin,my first plugin :). Hope you can take a look @ https://www.ads-software.com/extend/plugins/postpage-content-anchor-tabset/.Thanks.
ShazzadForum: Fixing WordPress
In reply to: Custom taxonomy and query_postsHi guys,
I have survived a lot with taxonomy and terms. At last i found a solution at least. I have tried with everything, like witting custom query arguments, using that taxonomies and term fields and lot more other way. At last i found a solution but it is also like two pre-test before the main test. Here we go with the codes…
If you want to do the query with a post id, first retrieve the term ids array.
$term_ids = wp_get_object_terms( $post_id, $taxonomies );
Now we have our term ids array. Let retrieve the post ids associated with our terms.
$post_ids = get_objects_in_term( $term_ids, $taxonomies ) ;
Now we got all of the post ids array. So you should know the next step i think.$query_args = array( 'post__in' => $post_ids, 'post_type' => $post_type, 'post_status' => $post_status ) ; query_posts( $query_args ) ; ............................
I am not sure if it can help you, but this codes really works. You can do a single term query with the simple term and taxonomy arguments, but this method is for multiple terms query together.