Support Forum » User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Owais SidatOwais Sidat
    Participant

    +1

    Owais SidatOwais Sidat
    Participant

    I have managed to view the country custom field in the backend by removing the advanced location rules on the user custom field group - But ideally, I would only like this to be displayed if the user is a specific role.

    Owais SidatOwais Sidat
    Participant

    I can dump all of the images onto the page using meta box views with the below code:

    <div class = 'vehicle-images'>
    	{% for clone in post.media_images %}
    		<div class='vehicle-image'>
    			<img src={{ clone.href }} alt="Test" width="500" height="600">
    		</div>
    	{% endfor %}
    </div>

    And I can also display them all using the PHP code below:

    <?php
      $images = rwmb_meta( 'media_images' ) ?: [];
      foreach ( $images as $image ) {
          echo '<div class="image">';
          echo '<img src="' . $image['href'] . '">';
          echo '</div>';
      }
    ?>

    But I just can not get them into a slider or carousel of any sort. I am using Bricks Builder as my page builder and Bricks Extras for the slider which I believe uses SplideJS.

Viewing 3 posts - 1 through 3 (of 3 total)