Skip to main content
edited title
Link
user1575949
  • 153
  • 1
  • 11

Time table Timetable of custom meta dataCustom Meta Data using custom post typeCustom Post Type and custom taxonomyCustom Taxonomy

edited title
Link
user1575949
  • 153
  • 1
  • 11

Time table -of custom meta data -using custom post type -and custom taxonomy

added 21 characters in body
Source Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244

Scenario:

I have a custom post type with custom meta boxes. Each post should represent a row in my table i.e Activity 1 Jan, Activity 1 Feb and Activity 1 Mar.

Activity 1 Jan, Activity 1 Feb and Activity 1 Mar

I have a custom taxonomy of terms for my Activity types: Activity 1, Activity 2 and Activity 3.

Activity 1,  Activity 2 and Activity 3.

I am using

archive-custom-post.php

to list my custom taxonomy term links, and

taxonomy-custom.php

to show each Activity time table.

Edit: Further clarity.

My question is - how do I query the meta data of all posts associated with Activity 1 term type? I am able to query the current post with get_post_custom but that is not enough. Should I be looking at WP_Query?

Edit: Activity data example.

  • Start and end date.
  • Duration
  • Cost
  • Paypal button

Thanks

Scenario:

I have a custom post type with custom meta boxes. Each post should represent a row in my table i.e Activity 1 Jan, Activity 1 Feb and Activity 1 Mar. I have a custom taxonomy of terms for my Activity types: Activity 1, Activity 2 and Activity 3. I am using

archive-custom-post.php

to list my custom taxonomy term links, and

taxonomy-custom.php

to show each Activity time table.

Edit: Further clarity.

My question is - how do I query the meta data of all posts associated with Activity 1 term type? I am able to query the current post with get_post_custom but that is not enough. Should I be looking at WP_Query?

Edit: Activity data example.

  • Start and end date.
  • Duration
  • Cost
  • Paypal button

Thanks

Scenario:

I have a custom post type with custom meta boxes. Each post should represent a row in my table i.e

Activity 1 Jan, Activity 1 Feb and Activity 1 Mar

I have a custom taxonomy of terms for my Activity types:

Activity 1,  Activity 2 and Activity 3.

I am using

archive-custom-post.php

to list my custom taxonomy term links, and

taxonomy-custom.php

to show each Activity time table.

Edit: Further clarity.

My question is - how do I query the meta data of all posts associated with Activity 1 term type? I am able to query the current post with get_post_custom but that is not enough. Should I be looking at WP_Query?

Edit: Activity data example.

  • Start and end date.
  • Duration
  • Cost
  • Paypal button

Thanks

added 23 characters in body
Source Link
user1575949
  • 153
  • 1
  • 11
Loading
added 21 characters in body
Source Link
user1575949
  • 153
  • 1
  • 11
Loading
added 1 characters in body
Source Link
user1575949
  • 153
  • 1
  • 11
Loading
Source Link
user1575949
  • 153
  • 1
  • 11
Loading