anurag.deshmukh
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Search form for Wp_user_query??!You need to create another search form, get the text value and then you can fire your query.
Place below code where you want to display form.<form role="search" method="get" id="searchform" class="searchform" action="<php echo site_url('/'); ?>"> <div class="user-form"> <label class="screen-reader-text" for="s">Search for:</label> <input type="text" value="<?php echo get_search_query(); ?>" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form>
Place this (below code) where you need to need to display in your template file.
if( $_GET['s'] ) { $search_term = $_GET['s']; ---- Execute your code here ---- }
You can change for name, id as per your wish for better understanding.
Forum: Fixing WordPress
In reply to: Audio playlist issue.Have you used any plugin to add/display the playlist ?
Seems users other than Admin don’t have permission to access that content/page. You need to check for permission once with either in theme or plugin from where it is coming.
Forum: Fixing WordPress
In reply to: I can not entry to my webpageI guess you missed this. I asked you to deactivate the plugin. Seems core files are not getting loaded properly.
If you check the files, css files that are in wp-admin folder, they are not loading properly.
Forum: Fixing WordPress
In reply to: Member Time trackingYou may need to create a separate plugin for this.
1. When user logged IN, add usermeta, say an additional option field which will save the time when user logged IN.
2. When user Logged Out, again create/add usermeta which will save the time when user logged out.
3. Take the difference i.e OUT time – IN time, and store it in another usermeta.
4. Create an admin page in backend, where you can list of all users with required data.
5. Table columns may include UserID, Username, In Time, Out Time and Difference (in hours).Make sure your created page is visible to all logged in users.
Forum: Fixing WordPress
In reply to: I can not entry to my webpageIf you click on highlighted box in image, you will be redirected to login form where you can fill fields and get Logged IN.
Ideally this screen should not display. Seems you have installed and activated Jetpack plugin which might creating this.
Please try to deactivate the plugin and check if still this problem exists.
Forum: Fixing WordPress
In reply to: Why does my logo size change when the page loads#Top_bar #logo img{max-height: 100%;}
max-height has been applied as 100%. Make that auto so that logo will display at it’s original resolution.
#Top_bar #logo img{max-height: auto;}
Path : https://146.66.97.132/~fakenotr/wp-content/themes/betheme/css/layout.css?ver=20.9.1
if this is parent theme, make sure you make changes in your child theme.
Forum: Fixing WordPress
In reply to: Why does my logo size change when the page loadsYou uploaded image/logo of size 358 x 118 px and it shows of 243 x 80 right ?
Forum: Fixing WordPress
In reply to: Plugin automatic updatesadd_filter( 'auto_update_theme', '__return_true' );
Above filter automatically updates all themes. In order to update plugins automatically, you need to add another filter.
add_filter( 'auto_update_plugin', '__return_true' );
Forum: Fixing WordPress
In reply to: Admin backend problemsIn this case, you need to get in touch with your service provider as this seems to be either permission or server level issue.
Forum: Fixing WordPress
In reply to: Admin backend problemsAny new theme, plugin you added yesterday or any update for plugin or WP version recently ?
Forum: Fixing WordPress
In reply to: style.css changes not taking effectYour css is getting affected. I can see the css that is getting applied.
Forum: Fixing WordPress
In reply to: style.css changes not taking effectOn which link you are getting this issue ?
Forum: Fixing WordPress
In reply to: word to wordpressForum: Fixing WordPress
In reply to: Help change the language of the footerIf you wish to continue with qTranslate, have a look at below link.
That might be getting called from widget. You will have an option in widget which content have to be shown in which language. Go to Appearance >> Widget
there you will find the widget/content.
Okay, so in that case you need to get name of all store names by passing them to get_terms function.
add_filter( 'mailchimp_sync_user_data', function( $data, $user ) { $terms = get_terms( 'your_taxonomy_name', array( 'include' => $user->saved_stores, ) ); if ( ! empty( $terms ) && ! is_wp_error( $terms ) ) { foreach ( $terms as $term ) { $data['STORES'] = $term->name; } } return $data; }, 10, 2 );