Title: Compare Custom posts
Last modified: May 17, 2026

---

# Compare Custom posts

 *  [aftab1003](https://wordpress.org/support/users/aftab1003/)
 * (@aftab1003)
 * [6 days, 22 hours ago](https://wordpress.org/support/topic/compare-custom-posts/)
 * i am building a site for mobile specifications , news and reviews with Elementor
   and ACF. Built the Custom posts type with acf, using only for Mobile specs post
   with same data. [https://reviews92.com/mobilespecs/google-pixel-10-pro/](https://reviews92.com/mobilespecs/google-pixel-10-pro/)
 * i want to creat separate cpt for comparison for only 2 mobiles data, no content
   of individual posts required. Will add content to new post for comparison.
 * is there any way to make this comparison dynamically? No front end phone selection
   is required for now.
 * only fixed comparison listed by admin.
 * any guide plz
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcompare-custom-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Chris Mucheke](https://wordpress.org/support/users/arayachris/)
 * (@arayachris)
 * [6 days, 14 hours ago](https://wordpress.org/support/topic/compare-custom-posts/#post-18910690)
 * Hey [@aftab1003](https://wordpress.org/support/users/aftab1003/)
 * This is totally doable. A dedicated Comparison CPT with ACF relationship fields
   is the cleanest way to handle this.
 * You can set it up like this; create a new CPT (e.g., `mobile-comparison`) and
   attach an ACF field group to it with two **Relationship** or **Post Object** 
   fields, one for each mobile being compared (e.g., `phone_a` and `phone_b`). Point
   both fields to your existing `mobilespecs` CPT as the source. When the admin 
   creates a new Comparison post, they simply pick the two phones to compare. No
   front-end selector needed. All comparison content lives on the Comparison post
   itself, as you intend.
 * To display it, use `get_field()` to fetch each selected post object, then pull
   the ACF fields from those posts using the post ID.
 * Could you try that and let me know if it gets resolved?

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcompare-custom-posts%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [comparison](https://wordpress.org/support/topic-tag/comparison/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chris Mucheke](https://wordpress.org/support/users/arayachris/)
 * Last activity: [6 days, 14 hours ago](https://wordpress.org/support/topic/compare-custom-posts/#post-18910690)
 * Status: not resolved