Displaying all ACF field labels and values from a specified field-group on WooCommerce product page

I see what you’re trying to achieve. You can use ACF’s acf_get_field_group function with the title as a parameter to retrieve the field group and its ID. Try this code: /*============================================================== Create More Details tab ================================================================*/ if (class_exists(‘acf’) && class_exists(‘WooCommerce’)) { add_filter(‘woocommerce_product_tabs’, function($tabs1) { global $post, $product; $tabs1[‘rpl-‘ . sanitize_title(‘More Details’)] = [ ‘title’ => … Read more

How to get related posts and wp comments under tabs

You need to use do_shortcode() for the shortcode to actually work inside PHP function add_post_content($content) { if(!is_feed() && !is_home()) { $above=”<p></p>”; $content_of_first_tab = ‘A list of related posts ‘; $args= array( ‘number’ => ‘5’, ‘post_id’ => get_the_ID(), // use post_id, not post_ID. ); $comments = get_comments( $args ); $output=””; foreach ( $comments as $comment ) … Read more

Click on image to open Text

You can certainly do things like this easily via CSS. However, to know what options are available in WordPress, perhaps you can provide a bit more details on how you’d like it to work… can you provide a screenshot (use PowerPoint or a Google Drive Drawing) to make an outline if necessary. Here’s an example … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)