yahyahaled
Forum Replies Created
-
Forum: Plugins
In reply to: [One Click Demo Import] Menu doesn’t activateHi Gregor,
Is there any update regarding import issues in navigation blocks for block themes. Still waiting for your update.Forum: Plugins
In reply to: [One Click Demo Import] Navigation BlocksHi Gregor,
Is there any update regarding the issue I mentioned. Please resolve the issue with navigation blocks
Forum: Plugins
In reply to: [One Click Demo Import] Menu doesn’t activateHi, Gregor
The code you referring does not work with block themes since it uses navigation blocks not classic theme menu locations. What to do for navigation blocks by default it assign to the same menu for all pages
set_theme_mod('nav_menu_locations', ['main-menu'=>$main_menu->term_id,// replace 'main-menu' here with the menu location identifier from register_nav_menu() function in your theme.]);Forum: Plugins
In reply to: [One Click Demo Import] Navigation BlocksI am not asking about navigation menu in classical theme and I am asking about the wp navigation blocks in theme editor for block themes. The selected navigation block is not assigned when importing xml using OCDI
Forum: Developing with WordPress
In reply to: php warning – wp_list_pluck, wp-list-utilYes, This is the solution for this issue @mi-ca . Just figured it out now. ‘the_posts’ method in WP_Query class has this below function. when
$args('fields' => 'ids')is passed in WP_Query as argument, this function argument $posts becomes postIds array i.e(array of integers) instead of object array where ‘wp_list_pluck’ function can’t pluck the post author ids from array of integers. So,unset( $args['fields'] );when ‘field’ already exists.function update_post_author_caches( $posts ) { $author_ids = wp_list_pluck( $posts, 'post_author' ); $author_ids = array_map( 'absint', $author_ids ); $author_ids = array_unique( array_filter( $author_ids ) ); cache_users( $author_ids ); }- This reply was modified 3 years, 7 months ago by yahyahaled.
- This reply was modified 3 years, 7 months ago by yahyahaled.
- This reply was modified 3 years, 7 months ago by yahyahaled.
- This reply was modified 3 years, 7 months ago by yahyahaled.
Forum: Plugins
In reply to: [MAS Videos] Maximum release date 2022 ?Hello there,
Thank you for trying out our plugin. Apologies for the delay in response. I’ve tested the scenario on our demo servers and could not reproduce the error. Please find the screenshot attached for reference.
https://drive.google.com/file/d/1f6pA_e2xwfzIF2MIwvzdM-YKeb6HyU-D/view?usp=sharing
Can you please make sure that you are not overriding the masvideos released year code?