Article: Main Image
$image = get_field(‘main_image’); $size = ‘full’; // (thumbnail, medium, large, full or custom size) if( $image ) { echo wp_get_attachment_image( $image, $size ); }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
$image = get_field(‘main_image’); $size = ‘full’; // (thumbnail, medium, large, full or custom size) if( $image ) { echo wp_get_attachment_image( $image, $size ); }Continue reading
if(the_field(‘title’) != ”){ echo (the_field(‘title’)); }Continue reading
the_breadcrumb();Continue reading
function the_breadcrumb() { $sep = ‘ / ‘; if (!is_front_page()) { // Start the breadcrumb with a link to your homepage echo ‘ ‘; echo ‘‘; bloginfo(‘name’); echo ‘‘ . $sep; // Check if the current page is a category,…Continue reading
function the_breadcrumb() { $sep = ‘ / ‘; if (!is_front_page()) { // Start the breadcrumb with a link to your homepage echo ‘ ‘; echo ‘‘; bloginfo(‘name’); echo ‘‘ . $sep; // Check if the current page is a category,…Continue reading
echo ‘ ‘; echo ‘‘ . get_the_title() . ‘‘; echo ‘ ‘;Continue reading
ifso(3060);Continue reading
error_log(‘[CORRUGATED STUDIO] LOAD’); $corrugated_studio = null; function corrugatedStudioContactForm($attrs = [], $content = null, $tag = ”) { error_log(‘[corrugatedStudioContactForm] START’); global $corrugated_studio; if(!$corrugated_studio) return; $attrs = array_change_key_case((array) $attrs, CASE_LOWER); $paperform_id = null; if(!isset($attrs[‘paperform_id’])) return; $paperform_id = $attrs[‘paperform_id’]; error_log(‘[corrugatedStudioContactForm] paperform_id: ‘ .…Continue reading
add_filter(‘woocommerce_paypal_payments_use_place_order_button’, ‘__return_true’);Continue reading
/** Funktion zur Ermittlung aller Einträge in einem Formidable Form. Optional kann mit einem $searchTerm gefiltert werden. */ function getFormidableDataFromForm($formId, $searchTerm) { // API-Schlüssel abrufen $frmApiKey = getFormidableApiKey(); // Die URL für die Anfrage zusammenstellen $searchstring = ”; if (!empty($searchTerm))…Continue reading