{"id":7586552,"date":"2016-07-20T03:58:07","date_gmt":"2016-07-20T03:58:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/make-agents-sortable\/"},"modified":"2016-09-01T16:46:29","modified_gmt":"2016-09-01T16:46:29","slug":"make-agents-sortable","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/make-agents-sortable\/","title":{"rendered":"Make Agents sortable"},"content":{"rendered":"<p>Hi, I am wanting to sort the multiple agents. might you be willing to offer the code to add to allow agents to be sortable. <\/p>\n<p>reason is I would like to place 1st one as listing agent, and other as buyers agents.<\/p>\n<p>sample page: http:\/\/hendersonrealestatepros.com\/listings\/2520-chateau-napoleon-dr\/<\/p>\n<p>Can this sort of code be implemented in even though i know updates would overright<br \/>\nhttps:\/\/github.com\/scribu\/wp-posts-to-posts\/wiki\/Connection-ordering<\/p>\n<p>p2p_register_connection_type( array(<br \/>\n        &#8216;name&#8217; =&gt; &#8216;posts_to_pages&#8217;,<br \/>\n        &#8216;from&#8217; =&gt; &#8216;post&#8217;,<br \/>\n        &#8216;to&#8217; =&gt; &#8216;page&#8217;,<br \/>\n        &#8216;sortable&#8217; =&gt; &#8216;any&#8217;<br \/>\n    ) );<\/p>\n<p>https:\/\/wordpress.org\/plugins\/impress-agents\/<\/p>\n","protected":false},"template":"","class_list":["post-7586552","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7586552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7586552\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7586552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}