Tagged Questions
0
votes
2answers
51 views
Remove comma from last item output from loop
(or add comma to all items but the last one...)
Most of the information I have found relates to using a counter within a foreach loop. In this particular situation I am using Advanced Custom Fields ...
0
votes
2answers
72 views
How to create a multidimensional array with multiple loops
I have this loop where I loop through every post of my CPT and fetch the title and the content of each post and put it into an array. That is no problem.
But as it happens I have created a repeatable ...
0
votes
1answer
80 views
Custom Post Type Loop breaking php
My While loop is breaking the rest of my PHP on the site. Below I put my code that is working but again breaking the rest of the site. Any Suggestions
$query = array( 'post_type' => 'slides', ...
0
votes
1answer
109 views
Styling first post using Advanced Custom Fields
I'm working with a company's About page. I created a custom post type for "Employees", and am using the Advanced Custom Fields plugin to create simple meta boxes for name, title, image, and bio.
The ...