{"id":11977,"date":"2011-02-01T14:00:49","date_gmt":"2011-02-01T14:00:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/zigconnect\/"},"modified":"2019-12-11T10:26:36","modified_gmt":"2019-12-11T10:26:36","slug":"zigconnect","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/zigconnect\/","author":6887211,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.10.2","stable_tag":"0.10.2","tested":"5.3.21","requires":"4.5","requires_php":"5.3","requires_plugins":"","header_name":"ZigConnect","header_author":"ZigPress","header_description":"","assets_banners_color":"f07b19","last_updated":"2019-12-11 10:26:36","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.zigpress.com\/plugins\/zigconnect\/","header_plugin_uri":"https:\/\/www.zigpress.com\/plugins\/zigconnect\/","header_author_uri":"https:\/\/www.zigpress.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3050,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1625951","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1625951","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1625951","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1625951","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.10","0.10.1","0.10.2","0.2","0.3","0.3.1","0.4","0.5","0.6","0.6.1","0.7","0.8","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.9","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2209903","resolution":"1","location":"plugin"}},"screenshots":{"1":"The main admin page where connections between post types are defined."}},"plugin_section":[],"plugin_tags":[73676,50072,41985,34743,47686],"plugin_category":[],"plugin_contributors":[80789],"plugin_business_model":[],"class_list":["post-11977","plugin","type-plugin","status-closed","hentry","plugin_tags-connect-posts","plugin_tags-post-connection","plugin_tags-post-links","plugin_tags-post-to-post","plugin_tags-posts-to-posts","plugin_contributors-zigpress","plugin_committers-zigpress"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/zigconnect_f07b19.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/zigconnect\/trunk\/screenshot-1.png?rev=2209903","caption":"The main admin page where connections between post types are defined."}],"raw_content":"<!--section=description-->\n<p><strong>PLEASE NOTE: THIS IS THE LAST VERSION. WE ARE RETIRING THIS PLUGIN.<\/strong><\/p>\n\n<p>Allows you to link post types (including custom post types) and posts to each other and attach data directly to the links. ZigConnect was inspired by the plugin \"Posts 2 Posts\" but has been written from scratch.<\/p>\n\n<p>Minimum versions required: WordPress 4.5, PHP 5.3 and MySQL 5.5.3.<\/p>\n\n<p>Compatible with ClassicPress.<\/p>\n\n<p>For further information and support, please visit <a href=\"http:\/\/www.zigpress.com\/plugins\/zigconnect\/\">the ZigConnect home page<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the installer and upload the resulting 'zigconnect' folder to the <code>\/wp-content\/plugins\/<\/code> directory. Alternatively, go to Admin &gt; Plugins &gt; Add New and enter ZigConnect in the search box.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the plugin's main admin page and start creating connections between content types.<\/li>\n<li>Edit a post of a connected type and look for the ZigConnect panels below the main content edit panel.<\/li>\n<\/ol>\n\n<p>If updating manually, always deactivate before uploading and then reactivate. This will trigger any required database structure updates.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How do I use the template tags?<\/dt>\n<dd><p>Try the following example. It should be inserted into single.php, inside the loop. It will show a list of posts of type 'my_type' which are linked to the current post via a connection.<\/p>\n\n<pre><code>$connectedposts = zc_get_linked_posts('my_type');\nif ($connectedposts) {\n    echo '&lt;ul&gt;';\n    foreach ($connectedposts as $otherpostid) {\n        $otherpost = get_post($otherpostid);\n        echo '&lt;li&gt;';\n        echo '&lt;a href=\"' . get_bloginfo('url') . '\/my_type\/' . $otherpost-&gt;post_name . '\"&gt;' . $otherpost-&gt;post_title . '&lt;\/a&gt;';\n        echo '&lt;\/li&gt;';\n    }\n    echo '&lt;\/ul&gt;';\n}\n<\/code><\/pre>\n\n<p>If you have a connection between types that carries one or more data fields, you can also show the content of these data fields for each link in the list, like this enlarged example.<\/p>\n\n<pre><code>$connectedposts = zc_get_linked_posts('my_type');\nif ($connectedposts) {\n    echo '&lt;ul&gt;';\n    foreach ($connectedposts as $otherpostid) {\n        $otherpost = get_post($otherpostid);\n        $linkdata = zc_get_linkdata($otherpostid);\n        echo '&lt;li&gt;';\n        echo '&lt;a href=\"' . get_bloginfo('url') . '\/my_type\/' . $otherpost-&gt;post_name . '\"&gt;' . $otherpost-&gt;post_title . '&lt;\/a&gt;';\n        if ($linkdata) {\n            echo ' ( ';\n            foreach ($linkdata as $linkdatakey=&gt;$linkdatavalue) {\n                echo $linkdatakey . '=' . $linkdatavalue . ' ';\n            }\n            echo ' ) ';\n        }\n        echo '&lt;\/li&gt;';\n    }\n    echo '&lt;\/ul&gt;';\n}\n<\/code><\/pre>\n\n<p>If you have more than one connection between the same two content types, you can use the new template tags zc_get_connection_by_name or zc_get_connection_by_slug to get the ID of the right connection. You can then pass this ID as a second parameter to the zc_get_linked_posts template tag.<\/p><\/dd>\n<dt>I have a question not shown here!<\/dt>\n<dd><p>For further information and support, please visit <a href=\"http:\/\/www.zigpress.com\/wordpress\/plugins\/zigconnect\/\">the ZigConnect home page<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.10.2<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 5.3.x<\/li>\n<li>Verified compatibility with ClassicPress 1.1.x<\/li>\n<li>Notice of plugin retirement<\/li>\n<\/ul>\n\n<h4>0.10.1<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 5.2.x<\/li>\n<li>Verified compatibility with ClassicPress 1.0.x<\/li>\n<\/ul>\n\n<h4>0.10<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 4.9.8<\/li>\n<li>Verified compatibility with ClassicPress 1.0.0-beta1<\/li>\n<\/ul>\n\n<h4>0.9.9<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 4.9.7.<\/li>\n<\/ul>\n\n<h4>0.9.8<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 4.9.6.<\/li>\n<\/ul>\n\n<h4>0.9.7<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 4.9.<\/li>\n<\/ul>\n\n<h4>0.9.6<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 4.8.x.<\/li>\n<\/ul>\n\n<h4>0.9.5<\/h4>\n\n<ul>\n<li>The resurrection release. Verified compatibility with WordPress 4.7.x, set minimum PHP version to 5.3.<\/li>\n<li>Fixed undefined data bug in metabox on post edit page.<\/li>\n<li>Changed table creation to use InnDB instead of MyISAM.<\/li>\n<li>Changed table creation to use UTF8MB4 instead of UTF8 (making minimum MySQL version 5.5.3).<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Final public release, verified compatibility with WordPress 3.3.x.<\/li>\n<\/ul>\n\n<h4>0.8.6<\/h4>\n\n<ul>\n<li>Fixed a path bug which caused problems when the WordPress root is not the site root<\/li>\n<li>Plugin no longer requires allow_url_fopen to be enabled on the server<\/li>\n<\/ul>\n\n<h4>0.8.5<\/h4>\n\n<ul>\n<li>Fixed a bug where the last checked checkbox could not be unchecked when editing the fields connecting 2 posts<\/li>\n<\/ul>\n\n<h4>0.8.4<\/h4>\n\n<ul>\n<li>Custom field inputs via AJAX selection now match custom field inputs on page load<\/li>\n<\/ul>\n\n<h4>0.8.3<\/h4>\n\n<ul>\n<li>Now allows checkboxes as well as text for custom field inputs<\/li>\n<\/ul>\n\n<h4>0.8.2<\/h4>\n\n<ul>\n<li>Further improved layout of custom field inputs by adding an option to decide how many fields shown per line<\/li>\n<\/ul>\n\n<h4>0.8.1<\/h4>\n\n<ul>\n<li>Added extra template tag<\/li>\n<li>Allow control of the order in which custom field inputs appear<\/li>\n<li>Added classes to the custom field inputs to allow JS events to be bound to them (e.g. datepicker)<\/li>\n<li>Improved layout of custom field inputs to allow more fields to be added before the metabox layout starts breaking<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>Rewrote database table maintenance code<\/li>\n<li>Added facility to specify size of link data entry fields<\/li>\n<li>Updated WordPress minimum version requirement to 3.1<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Updated PHP and MySQL version requirements in preparation for the release of WordPress 3.2<\/li>\n<li>Added an \"Add All\" button to the connected posts panels shown when editing a post\/page (this has been added mainly for ZigPress's own benefit and is NOT designed for use on sites with hundreds of posts of each connected content type - you have been warned!)<\/li>\n<\/ul>\n\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 3.1.1<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Substantial code restructuring for easier maintenance<\/li>\n<li>Implemented distinct connection names and slugs for better admin usability<\/li>\n<li>Added more template tags<\/li>\n<li>Removed undocumented functionality that was added in 0.4 (no longer required by plugin author and never offered to plugin users)<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Implemented multiple (named) connections between the same post types, so that different fields can be attached to each connection<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Added some template tag usage examples<\/li>\n<li>Improved template tag code<\/li>\n<li>Merged in various functionality from an unreleased sub-plugin (this will be enhanced and documented later)<\/li>\n<li>Completely rebuilt admin form callback system to fix various 'headers already sent' warnings on some installations<\/li>\n<li>Restricted contextual help to ZigConnect pages only<\/li>\n<li>Some code refactoring<\/li>\n<li>Made ready for localization<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Custom admin columns in admin post editing pages now show connection totals only to avoid rows getting too high<\/li>\n<li>Fixed bug that may cause connected types to be duplicated in arrays when queried<\/li>\n<li>Fixed fatal error on activation<\/li>\n<li>Fixed warning on post update when no fields defined for connections<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added AJAX post search to post edit panels<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Substantial code refactoring<\/li>\n<li>Widget code (under development) removed until I think of a useful widget to add<\/li>\n<li>Improved admin message system to avoid duplicate database actions<\/li>\n<li>Added more relevant admin icon<\/li>\n<li>Tidied readme file and added icon usage credits<\/li>\n<li>Removed unused icons from images folder<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First public release<\/li>\n<\/ul>","raw_excerpt":"Allows you to link post types and posts to each other and attach data directly to the links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11977"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zigpress"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11977"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11977"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11977"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11977"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11977"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}