Skip to main content

All Questions

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
541 views

Stuck in the query loop

I created a two loop into my WordPress page. It should get the category name and should load all the child under the Category name. Like this ____ Cat1 ______ product 1 product 2 product 3 ____ ...
Amir's user avatar
  • 111
0 votes
2 answers
500 views

How to output values from a loop into a javascript array

I'm building a custom shortcode in Wordpress. Essentially what I want this to do is the following: Dynamically pull values from a group of Advanced Custom Fields Output those values into a javascript ...
Noah's user avatar
  • 1
0 votes
0 answers
743 views

PHP for loop not working as intended

I was using if statements to check if a custom field exists and if it does, to output some HTML. Since the number of fields was getting bigger I used a loop and it worked on one website: ...
Sergi's user avatar
  • 260
0 votes
0 answers
115 views

Display related post content and custom field content

I'm having trouble trying to display related post content and custom field content from one custom post type to another. The Custom Post Types and posts are as follows: CTP1 - page title 1 - page ...
Amesey's user avatar
  • 125
-1 votes
1 answer
3k views

ACF loops false value with repeater and checkbox

I have an ACF repeater field setup on a page and within the subfields I have a True/False checkbox. So far, if the box is checked, it will show the fields. If not then it will not. However, the one ...
ultraloveninja's user avatar