Adnan Hyder Pervez
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wordpress website show html view and 403 forbiyour code is minified that’s why it shows up to like this please reinstall it will be fine ,
ThanksForum: Fixing WordPress
In reply to: Cannot logingo to phpmyadmin and insert a password known md5,
second set the site url in wp_options to your current url.
Forum: Developing with WordPress
In reply to: Date input typecould you please provide the screenshot
Forum: Developing with WordPress
In reply to: Custom loop isnt working correctlyfunction set_external_client_id( $post_id, $post, $update ) { if ( 'auction-client' == $post->post_type ) { if( $update ){ $args = array( 'post_type' => 'auction-client', 'post_status' => 'publish', ); $myloop = new WP_Query( $args ); //loop through all posts of this post type to find the highest client ids $check_client_i = []; while ( $myloop->have_posts() ) : $myloop->the_post(); $check_client_id = get_post_meta( $post_id, 'wpcf-external-client-id', true ); $check_client_i[]=$check_client_id; endwhile; wp_reset_postdata(); //take the highest value from the custom loop and double it $value = max($check_client_i); update_post_meta( $post_id, 'wpcf-external-client-id', $value); } } } add_action( 'wp_insert_post', 'set_external_client_id', 10, 3 );
- This reply was modified 3 years, 9 months ago by Adnan Hyder Pervez.
Forum: Fixing WordPress
In reply to: All Page Content Are Gone After Migrationhave you updated the wp-options ?
Forum: Fixing WordPress
In reply to: Icons turned into squaresdisable the plugin you install recently custom icons type etc
Forum: Fixing WordPress
In reply to: i am using free Table plugin for jobs listing site is it okey to useusing plugins with GPL is fine no worry so tables are okay no need to start thinking differently
Forum: Fixing WordPress
In reply to: Unable to create directory uploadschange permalink structure
Forum: Fixing WordPress
In reply to: Permalinks pointing to HTTPhey you can change the permalink by wp_option table or
dashborad -> setting -> genral -> change there to httpsForum: Fixing WordPress
In reply to: How to Use a PDF form as a application form in worpressyou want this form delivered to you in pdf form?
Forum: Fixing WordPress
In reply to: Hide author plugins doesn’t work on my theme?!welcome ??
Forum: Fixing WordPress
In reply to: Formatting Issuesissue 3
.product-category {
display: inline-block;
max-width: 25% !important;
float: left !important;
margin: 6px !important;
padding: 0 !important;
height: 311px !important;
}Forum: Fixing WordPress
In reply to: Formatting Issuesissue 3
add in css
.dropdown.yamm.ext-nav.minicart-nav {
display: inline-block;
}Forum: Fixing WordPress
In reply to: Formatting Issuesissue 1 :
add this in css.page-numbers {
color: #000 !important;
}Forum: Fixing WordPress
In reply to: Hide author plugins doesn’t work on my theme?!.qodef-post-info-top div {
display: none !important;
}add this in css code