global $post; if ( ! empty( $post ) ) { $categories = get_the_category( $post->ID ); if ( $categories ) { $category_ids = array(); foreach ( $categories as $category ) { $category_ids[] = $category->term_id; } $query_args = array( ‘category__in’ => $category_ids,…Continue reading
function sync_acf_post_title($post_id, $post, $update) { $acf_name = get_field(‘name’, $post_id); // Get the value of the “name” ACF field $acf_vorname = get_field(‘vorname’, $post_id); // Get the value of the “vorname” ACF field $post_type = get_post_type($post_id); if ($acf_name && $post_type === “kontakte”)…Continue reading
<iframe style=”overflow:hidden;display:block;margin:0 auto;width:100%;max-width:400px;min-height:600px;border:none” src=”https://www.houfy.com/embed/Listing Number/pricing” frameborder=”0″></iframe>Continue reading
function mepr_show_account_fields( $user ) { $bio = get_user_meta( $user->ID, ‘description’, true ); ?> Bio:Continue reading
function mepr_logout_confirmation() { ?>Continue reading
function mepr_acount_links_shortcode() { $mepr_options = MeprOptions::fetch(); $account_url = $mepr_options->account_page_url(); $links = ‘ ‘; $links .= ‘ Home ‘; $links .= ‘ Subscriptions ‘; $links .= ‘ Payments ‘; $links .= ‘ Courses ‘; $links .= ‘ Logout ‘; $links .=…Continue reading
add_filter( ‘widget_text’, ‘do_shortcode’ );Continue reading