{"id":40627,"date":"2015-12-08T23:02:41","date_gmt":"2015-12-08T23:02:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cogwork\/"},"modified":"2025-08-15T16:22:15","modified_gmt":"2025-08-15T16:22:15","slug":"cogwork","status":"publish","type":"plugin","link":"https:\/\/es-hn.wordpress.org\/plugins\/cogwork\/","author":14708094,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8.5","stable_tag":"trunk","tested":"6.8.5","requires":"4.6","requires_php":"","requires_plugins":null,"header_name":"CogWork","header_author":"CogWork AB","header_description":"","assets_banners_color":"","last_updated":"2025-08-15 16:22:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/minaaktiviteter.se\/help\/api\/wordpress\/","header_author_uri":"https:\/\/minaaktiviteter.se\/cogwork\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4610,"num_ratings":3,"support_threads":0,"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":"3"},"assets_icons":{"icon-128\u00d7128.png":{"filename":"icon-128\u00d7128.png","revision":2089866,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2089866,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2089866,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"cogwork\/shortcodes":{"name":"cogwork\/shortcodes","title":"Cogwork"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1303364,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1303364,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1303364,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Open settings to connect WordPress to your CogWork account","2":"Place a shortcode where you want the content to show up. You can write the shortcode by hand directly on the page or use the media button labeled [CW].","3":"The visitors sees data fetched from your CogWork account"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18711,18713,1486,18712,1242],"plugin_category":[40,45,58],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-40627","plugin","type-plugin","status-publish","hentry","plugin_tags-cogwork","plugin_tags-dans-se","plugin_tags-events","plugin_tags-minaaktiviteter","plugin_tags-shop","plugin_category-calendar-and-events","plugin_category-ecommerce","plugin_category-user-management","plugin_committers-cogwork"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/cogwork\/assets\/icon.svg?rev=2089866","icon":"https:\/\/ps.w.org\/cogwork\/assets\/icon.svg?rev=2089866","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cogwork\/assets\/screenshot-1.png?rev=1303364","caption":"Open settings to connect WordPress to your CogWork account"},{"src":"https:\/\/ps.w.org\/cogwork\/assets\/screenshot-2.png?rev=1303364","caption":"Place a shortcode where you want the content to show up. You can write the shortcode by hand directly on the page or use the media button labeled [CW]."},{"src":"https:\/\/ps.w.org\/cogwork\/assets\/screenshot-3.png?rev=1303364","caption":"The visitors sees data fetched from your CogWork account"}],"raw_content":"<!--section=description-->\n<p>CogWork offers a cloud based service for administrating events, booking, payments, book keeping and much more.\nAll administration is done on a separate web site.<\/p>\n\n<p>This plugin allows you to inlcude content and funtionality from CogWork with simple shortcodes.\nTo include a list of products or bookable events you only need to write [cw shop] where ever you want it to show<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin through the WordPress plugins screen<\/li>\n<li>Activate the plugin through the plugins screen in WordPress<\/li>\n<li>Use the Settings-&gt;CogWork screen to configure the plugin<\/li>\n<li>Place shortcodes on any web page you want content from CogWork to display.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='examples%20of%20short%20codes'><h3>Examples of short codes<\/h3><\/dt>\n<dd><p>[cw shop] List of events\/articles with booking functionality\n[cw calendar] Simple events and scheduled occasions\n[cw membership] Click to register a new membership\n[cwChildPages] Output ul list with links to childpages.<\/p><\/dd>\n<dt id='what%20short%20codes%20are%20planned%3F'><h3>What short codes are planned?<\/h3><\/dt>\n<dd><p>[cw instructors] Displaying all instructors and their current or upcomming classes<br \/>\n[cw schedule] Display todays schedule with classes and locations (rooms)<br \/>\n[cw login] Login into WordPress using a CogWork account<br \/>\n[cw my-page] Showing current bookings etc for loged in WP users<br \/><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Added a setting for selecting http or https for server connection.<\/li>\n<li>Fixed broken link in settings.<\/li>\n<li>Can use both Curl and file_get_content to load external content<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>New syntax. [cw shop] instead of [cwShop]<\/li>\n<li>Old shortcode [cwShop] still works for backward compatibility<\/li>\n<li>New syntax allows new shortcodes to be added without modifying this plugin<\/li>\n<li>Added a new shortcode [cw calendar]<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added a WP media button [CW] to make it easier for the user to add CW shortcodes<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added an option to show public data from other organizations<\/li>\n<li>Added more shortcodes in the [CW] media button<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fixed a bug in version 1.1.1 that could display an error message to the end user<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added support for translation<\/li>\n<li>Displays errors and problems when generating content as comments hidden in the generated HTML code<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added an optional API Key in the plugin settings to request data that are not public<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Repository changes.Commented program code<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Potential content types as well as content type specific options are loaded from the CW server<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Bugfix. Dynamic options in version 1.4 only worked if WordPress was installed in a specific folder.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Bugfix. Shortcode parameters without a specified value created wrong URL.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Added shortcodes cwLink and cwChildPages for that does not fetch any external data<\/li>\n<li>Restructured code to make it easier to add new shortcodes and grasp the basic functionality<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Removed htmlformating in cwLinks since WP does this in advance<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Added shortcode cwService that does not fetch any external data<\/li>\n<li>Updated shortcode cwLink<\/li>\n<li>Updated shortcode cwChildPages<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added CogWork block to blockeditor to to make it easier for the user to add CW shortcodes<\/li>\n<li>Added more functionality to cwLink cwToc\/cwChildPages and cwService<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>New ordering CwToc<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Language for cwShop will automatically be set to WordPress site language if it is supported language Swedish, English, Finnish or Spanish.<\/li>\n<li>Added more functionality to cwLink cwToc\/CwChildPages and cwService<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Minor update to cwShortCodeProcessor class<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>Fixed compatibility with PHP 5.5 and older versions.<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<ul>\n<li>Disabled session_start() in admin mode. Improvements to how session cookie is stored from URL parameter<\/li>\n<\/ul>\n\n<h4>1.6.6<\/h4>\n\n<ul>\n<li>Added Idrott.se as option for Extern CW-server under plugin settings<\/li>\n<\/ul>\n\n<h4>1.6.7<\/h4>\n\n<ul>\n<li>Fixed compatibility issues with Elementor by disabling preview of shortcode in Elementor Pagebuilder<\/li>\n<li>Checked compatibility with WordPress 5.5<\/li>\n<\/ul>\n\n<h4>1.6.8<\/h4>\n\n<ul>\n<li>Fixed error in cwShortCodeProcessor.php that caused error message<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Fixed combability issues with some websites by replacing PHP Session with cookie for storing data between page visits.<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 5.7<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 5.8<\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 5.9<\/li>\n<\/ul>\n\n<h4>1.7.6<\/h4>\n\n<ul>\n<li>Checked compatibility with WordPress 6.0<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Added login to website through Mina Aktiviteter user login. Timeout and error messages added to curl calls.<\/li>\n<\/ul>\n\n<h4>1.8.2<\/h4>\n\n<ul>\n<li>Increased timout to 30 second for webshop. <\/li>\n<\/ul>\n\n<h4>1.8.3<\/h4>\n\n<ul>\n<li>Update url for Mina Aktiviteter user login<\/li>\n<\/ul>\n\n<h4>1.8.4<\/h4>\n\n<ul>\n<li>Improve functionality for displaying Mina Aktiviteter users on the WordPress users page <\/li>\n<\/ul>\n\n<h4>1.8.5<\/h4>\n\n<ul>\n<li>The \"Test\" option in the \"Website or server\" setting now connects to a new server with enhanced functionality.<\/li>\n<\/ul>","raw_excerpt":"Enables shortcodes that includes resourses from CogWork (MinaAktiviteter\/Dans.se\/Idrott.se)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40627"}],"author":[{"embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cogwork"}],"wp:attachment":[{"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40627"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40627"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40627"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40627"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40627"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-hn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}