itcgpit
Forum Replies Created
-
Forum: Plugins
In reply to: [Membership 2] Display Login / logout in MenuOK done from where i set registration mail to users.
i want to set custom mail when user register via membership 2 login.
Forum: Fixing WordPress
In reply to: Moving WP site to new serverhave you set up correct database name password ?
its look like you have not set up.
because it you db is right then it will display repair db must but currently its displaying database error
wp-admin/maint/repair.php
define('DB_NAME', 'database-name'); define('DB_USER', 'database-username'); define('DB_PASSWORD', 'database-password'); define('DB_HOST', 'localhost');must check host value. as per your domain.
it might be
define('DB_HOST', '127.0.0.1:8889');also check db user’s permission too..
have you given perfect permission in you hosting panel ?
thanks
Forum: Fixing WordPress
In reply to: User Account Management with front end Account Pagesyes i can understand you requirement
there are few plugins and customization required for it
1st way
you can use buddypress plugin so it will used for registration and little customzation
2. or use theme my login
https://ww.wp.xz.cn/plugins/theme-my-login/you can also used https://ww.wp.xz.cn/plugins/simple-membership/
or still problem then m ready for help
[Contact details removed by moderator per forum rules.]
its easy wordpress its best for login register type website
Forum: Fixing WordPress
In reply to: Moving WP site to new server1. copy and paste folder in new server
2. import database but most imp dont forget to change all old link to new link in sql file .ex- replace http://www.oldsite.com with http://www.newsite.com
3. simple now your site is ready. if not then let me know i will solve it
[Contact details removed by moderator per forum rules.]
thanks
i have added plugin
and when i authenticate google a/c it gives me code
i will copy code
but nothing happen.
– wp verson 4.4
can you solve this please?
thanks for great pluginForum: Fixing WordPress
In reply to: Order by meta value, pro first, then freehi .. any update.. ! in my function
function j_multi_search( $sfrom, $location, $limit = null ) {
global $wpdb;
if ( !empty( $sfrom ) || !empty( $location ) )
$n = ‘%’;
$post_type = POST_TYPE;
$post_status = ‘publish’;
$meta_key = “j_address”;so i added more $meta_key2 = ‘j_listing_type’;
$meta_val2 = array(‘pro’,’free’);but still it will not take as order by.. any idea. help plz thanks. give me your email id π
Forum: Fixing WordPress
In reply to: Order by meta value, pro first, then freethanks sir now i want to implement order by metavalue same in my search function too.
but search fun dont havel loop so i need to change it from module-function file.
so help me on that.public fun mulit-search
if () …query ..else if query…. etc
$results = array();
$results[‘result’] = $wpdb->get_results( $query );
$results[‘query’] = $wpdb->query( $query );
return $results;
above is my search func.
write now in search its GROUP BY $wpdb->posts.ID {$limit} .. i try to add it order by in last in if and else if but it will not work. so plz help me thanks again. πForum: Fixing WordPress
In reply to: Order by meta value, pro first, then freeThank you so much you made my day π love you wordpress π thanks sir
Forum: Fixing WordPress
In reply to: Order by meta value, pro first, then freestill same error .
GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10ya but if i remove from function that time it say order_metavalue not found in plugin.php so should i add that function.php code in plugin.php file ?
thanks plz help. π
Forum: Fixing WordPress
In reply to: Order by meta value, pro first, then freethanks sir for reply
first i add your code with my meta key = j_listing_type then i print query and it say fun not define so i add your code in theme -> function.php file butstill in result – it order by below.
plz solve this thanks. sir π
GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10my post type is – listing
meta key = J_listing
meta_value pro and free