Manny Fleurmond
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] Change date format on frontendIts doing that because you aren’t adding it to the right place. where are you placing the shortcode?
Forum: Plugins
In reply to: [Meta Box] Change date format on frontendWhere is the date supposed to be on your website? Sounds like you need to edit your template or create a child template to place it in the right spot
Forum: Plugins
In reply to: [Meta Box] Display key_value on front endThe key is stored as 0 and the value as 1, so:
$links = rwmb_meta('links'); if ( !empty ( $links ) ) { foreach ( $links as $link ) { echo "<a href='{$link[1]}' class='btn btn-primary btn-block' target='_blank'>{$link[0]}</a>"; } //end links if }Forum: Plugins
In reply to: [Meta Box] Backward slash added to URLWhat plugins are you using?
Forum: Plugins
In reply to: [Meta Box] Cann’t show Output of Videoswhat is jeweltheme_meta? It’s not one of our functions and its possible it is using an old version of our code. Please use rwmb_meta instead, which will return data about the videos
Forum: Plugins
In reply to: [Meta Box] How to make custom box select items work like tags?You would have to either 1. Create a custom query var that would do a meta query to get your posts or 2. Create new taxonomies, which would work like tags or categories.
You use the meta box plugin to create fields in the backend you can edit and save as post meta. It doesn’t populate the meta itself via arrays.
Forum: Plugins
In reply to: [Meta Box] New images displaying twice on site but not in CMSYou don’t need that second for loop, because you only need one image; the first one. use this instead:
<section id="home" class="hero-section"> <div class="hero-section__slider-hook"> <ul class="hero-section__slider"> <?php $sliderImages = rwmb_meta('unveil_hero-slider-image'); if (!empty($sliderImages)) { foreach ($sliderImages as $index => $sliderImage) : $slide_number = $index + 1; $images = isset( $sliderImage['unveil_background-image'] ) ? $sliderImage['unveil_background-image'] : array(); $bgImage = isset( $images ) ? reset( $images ) : ''; $bgSizes = wp_get_attachment_image_sizes( $bgImage, 'homepage-header'); ?> <li class="hero-section__image"><figure class="fullScreenImg slide<?php print $slide_number; ?>"></figure></li> <?php $slide_number++; endforeach; }; ?> </ul> </div> <h1 class="hero-section__title"><?php print rwmb_meta('unveil_strapline'); ?></h1> <button id="hero-section__arrow-slide"><span class="fa fa-angle-down"></span></button> </section>Forum: Plugins
In reply to: [Meta Box] Metabox 4.9 Incompatible with WordPress 4.6.1You may have a theme that is using part of the plugin in it’s code
Forum: Plugins
In reply to: [Meta Box] datetimeCan you post the code that you are using for the meta box? It helps us troubleshoot
Forum: Plugins
In reply to: [Meta Box] show meta box on frontendDo you want users to edit the meta fields or do you just want to show the data?
Forum: Plugins
In reply to: [Meta Box] Change Date FormatWhich raw format. if you mean timestamp, you can use the php date function to format it anyway you want: http://php.net/manual/en/function.date.php
Forum: Plugins
In reply to: [Meta Box] std value don't workstd only works on posts that haven’t been saved you
Forum: Plugins
In reply to: [Meta Box] Metabox and multilingual image_advanced fieldPlease read this post: https://ww.wp.xz.cn/support/topic/polylang-makes-media-vanish-in-library?replies=6
This should help you out.
Forum: Plugins
In reply to: [Meta Box] Print Field value with its label?$field = RWMB_Helper::find_field( 'field_id' ); $label = $field['options']['unreal']; //Or get the value and replace 'unreal'