Sajjad Ali
Forum Replies Created
-
Forum: Plugins
In reply to: [Hide Admin Bar] Admin Bar Displaying for All Users Except AdministratorThanks Michael for sharing this.. For some reason hide admin bar was not working any longer but dfactory code did the trick.
Forum: Plugins
In reply to: [WooCommerce] Change user role on puchase of product variationThanks… ??
Forum: Plugins
In reply to: [Facebook Friend Inviter] Short CodeThis plugin doesn’t work.. its shows “Game Requests are only available to games” error for a normal fb app.
As for the question. You can use widget shortcode plugin to show any widget as shortcode.
Forum: Plugins
In reply to: [WordPress Social Login] Redition after login to the home pageWSL have option to redirect. Go to WSL Plugin settings > Widget > Advanced
Forum: Plugins
In reply to: [WordPress Social Login] Redirect after scoal media login@richard Foley WSL have option to redirect. Go to WSL Plugin settings > Widgets > Advanced
Forum: Plugins
In reply to: [WordPress Social Login] How to make logout buttonAdd this in your theme functions.php
// Add Shortcode for LOGOUT LINK function logout_link() { return "<a href='" . wp_logout_url( home_url() ) . "' class='logout_link'>Logout</a>"; } add_shortcode( 'logout_link', 'logout_link' );
Use this shortcode on homepage. [logout_link]
Forum: Fixing WordPress
In reply to: Getting sum of values from a Table columnYes. Problem is solved actually. I was adding clicks while it was click. Here is the code to get the sum if it can help someone.
function total_number_clicks() { GLOBAL $wpdb; $clicks_count = $wpdb->get_results( "SELECT SUM(click) as result_value FROM ".$wpdb->prefix."wslusersprofiles" ); foreach ( $clicks_count as $clicks_counts ) { echo $clicks_counts->result_value; } } add_shortcode( 'total_number_clicks', 'total_number_clicks' );
Forum: Fixing WordPress
In reply to: Can you create a database from an Excel sheet?Thanks @anchises. That is great.
I actually just asked this question on tablepress forum. ?? So you solved that topic as well. This feature could become very useful. Adding my custom post type method is lengthy and annoying. Only i wish is that extra extension was actually hiding the whole data from source code as well and load it after search. But still better than nothing.Forum: Fixing WordPress
In reply to: Can you create a database from an Excel sheet?Table press have search option. If you want to display the whole directory on front-end then it’s a great option.
If you want to display just search field and get results based on search then i think best option would be to
– Create a custom post type with custom fields. Like from PODS plugin.
– Find a CSV/Excel importer plugin and map your sheet according to post content and custom fields. There might be an add-on for PODS.
– Import first few rows for testing, if it work then import the whole file.
– Use Ajax Search Lite plugin to search in custom fields like First name, last name, phone number etc.Forum: Fixing WordPress
In reply to: How to share a line of text on social mediaDid you find a solution?
I’m looking for similar plugin where several quotes are in a post and i want social share buttons under each quote, and those button should share that exact quote, not the whole post/page.
Forum: Plugins
In reply to: [Author Avatars List/Block] How to show twitter profileAs far as i understand, this plugin will display your wordpress user data.. Name, Picture, Website link, Bio etc. So you can’t embed a twitter profile if that’s what you are trying to do. But you can use some social plugin like “wp social login” to collect data from twitter and then display it with this plugin. Hope that helps.
Forum: Fixing WordPress
In reply to: Redirecting all url's of /base to /newbaseThanks James..
Any update on this? I hope you can fix this. It’s looks really bad on tumblr after each post.
Also publicize is not sharing featured image on tumblr.. While it works fine on facebook. Is there a way to share only featured image on tumblr?
Forum: Plugins
In reply to: [Really Simple CSV Importer] Server requests are supported for huge files?I have done this (increase max memory limit) but still as database increases with posts then import becomes slower and more slower.
Please consider adding this feature. A simple input field to set number of entries per server request. That would make this plugin perfect.
Thanks for your efforts on this plugin.
Forum: Reviews
In reply to: [ReCaptcha Integration for WordPress] Does the job with Ninja FormsAfter activating this plugin and adding API keys. Go to your form setting and there will be a field available for ReCatpcha. Just add it before submit button.