Categories
CMS Mastering Development Wordpress

Daily drip of posts – based on user ‘startData’ – ordered oldest to newest

I would like to “Drip” lessons for my class – 1 a day. In the index for the lessons, on the first day, you would see the first lesson, and then on the second day, the second and first lesson, etc. – with today’s lesson at the top (shown in the diagram). I’m checking the […]

Categories
CMS Mastering Development Wordpress

Daily drip of posts – based on user ‘startData’ – ordered oldest to newest

I would like to “Drip” lessons for my class – 1 a day. In the index for the lessons, on the first day, you would see the first lesson, and then on the second day, the second and first lesson, etc. – with today’s lesson at the top (shown in the diagram). I’m checking the […]

Categories
CMS Mastering Development Wordpress

Daily drip of posts – based on user ‘startData’ – ordered oldest to newest

I would like to “Drip” lessons for my class – 1 a day. In the index for the lessons, on the first day, you would see the first lesson, and then on the second day, the second and first lesson, etc. – with today’s lesson at the top (shown in the diagram). I’m checking the […]

Categories
CMS Mastering Development Wordpress

Daily drip of posts – based on user ‘startData’ – ordered oldest to newest – and handles when all posts are shown

I would like to “Drip” lessons for my class – 1 a day. WP already has it’s ‘user’ resource – and then I’ve added ‘lesson’ and ‘team.’ Team uses the ACF ‘user’ field – so for team-one – I can add what users are in that team / and a team “start_date.” Now, in the […]

Categories
CMS Mastering Development Wordpress

Daily drip of posts – based on user ‘startData’ – ordered oldest to newest – and handles when all posts are shown

I would like to “Drip” lessons for my class – 1 a day. WP already has it’s ‘user’ resource – and then I’ve added ‘lesson’ and ‘team.’ Team uses the ACF ‘user’ field – so for team-one – I can add what users are in that team / and a team “start_date.” Now, in the […]

Categories
CMS Development Wordpress

Foreach issue in get_posts function

My category is coming from comma separated place and then i put it into get_posts’s args array, but my query gives me only last category’s posts. Please have a look at my code below: $content_arr = explode(“,”, $content); if ( is_array($content_arr) && count($content_arr) > 0 ) { foreach ($content_arr as $category_name) { // Category loop […]

Categories
CMS Development Wordpress

ACF repeater field with meta_query

How can I use a repeater field with meta_query I have a repeater field with some text values only and have a form that sends variables to a page where I get the value and storage a value which is the VALUE in the meta_query, I want to get all the CPT that hast certain […]

Categories
CMS Development Wordpress

ACF repeater field with meta_query

How can I use a repeater field with meta_query I have a repeater field with some text values only and have a form that sends variables to a page where I get the value and storage a value which is the VALUE in the meta_query, I want to get all the CPT that hast certain […]

Categories
CMS Development Wordpress

WP Query search for attachments and their exact title

Due to lack of reputation, I must now ask the question. I want to create a search for all images in the media libary. The search result should only appear if you search for the exact title of the image. I already tried it with ‘exact’ => true but it does not work. Still get […]

Categories
CMS Development Wordpress

Why “Warning: Invalid argument supplied for foreach()”

The following code gets the “organisation” taxonomy terms associated with the last 20 “article” or “viewpoint” posts. First, it gets the posts, $recent_posts. Second, it pushes each of those “organisation” terms on to a new array, $recent_companies. Later, I deduplicate them and display those terms. It all works fine. The only thing is, with debugging […]