{"id":24,"date":"2017-10-29T08:22:05","date_gmt":"2017-10-29T07:22:05","guid":{"rendered":"http:\/\/my-tidbits.wpress.deschooneschooier.com\/?p=24"},"modified":"2017-10-29T08:22:05","modified_gmt":"2017-10-29T07:22:05","slug":"wordpress-stuff","status":"publish","type":"post","link":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/2017\/10\/29\/wordpress-stuff\/","title":{"rendered":"WordPress spul"},"content":{"rendered":"<p>I wanted to try out some things with the populair online website and blog creation tools. In my search I ended up trying these two tools:<\/p>\n<ol>\n<li>WordPress<\/li>\n<li>Drupal<\/li>\n<\/ol>\n<p>If you visit their websites it all looks so incredible well: you want both&#8230;<br>\nWell that is not going to happen, so I start my incredible learning learning curve with this one: wordpress.<\/p>\n<h3>Multiple Sites<\/h3>\n<p>It all started with adding network capabilities to a fresh install. I used and sub-domain website and for some reason I didn&#8217;t get it working with a 4th sub-domain like:<\/p>\n<p>http:\/\/<em><strong>&lt;extra_sub&gt;<\/strong><\/em>.sub-domain.domain.com<\/p>\n<p>I was starting to dislike the Network function within WordPress that makes this <em>&#8220;easy&#8221;<\/em> &#8230; but after a complete reinstall and trying above with an appropriate website naming I ended up again with a website link to the admin pages that didn&#8217;t work.<\/p>\n<p>In that stage I was considering to deinstall the WordPress software and move on to Drupal &#8230; but, than I read a blog that came up with DNS troubles &#8230; DNS is off course important if a new sub-domain is added. So I did a refresh on the hosting platform and it still didn&#8217;t work. Then I did this magic in my command prompt:<\/p>\n<h3><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-25\" src=\"http:\/\/blogs.studiostuiterbal.com\/mytidbits\/wp-content\/uploads\/sites\/2\/2017\/10\/2017-10-29-07_22_49-C__Windows_system32_cmd.exe_.png\" alt=\"\" width=\"677\" height=\"342\" \/><\/h3>\n<p>after that command I could reach my newly added website and the wp-admin : I was happy. I could create multiple websites!!<\/p>\n<h3>Themes and plugins hell<\/h3>\n<p>So I created a couple off dummy websites (including this my-tidbits part) to get familiar with the WP parts. Themes and plugins can only be installed through the main WP website. After that you &#8220;<strong>enable network<\/strong>&#8221; on the installed theme\/plugin if you like to use it in the other (network) websites.<\/p>\n<p>But be careful, it will not be easy every time &#8230; I tried to use an incredible plugin: <a href=\"https:\/\/xnau.com\/work\/wordpress-plugins\/participants-database\/\" target=\"_blank\" rel=\"noopener\">Participants Database<\/a>, but trying to use it in the network website I could not get it working. That is because the Network plugin does a copy of all the WP tables with a prefix:<\/p>\n<figure id=\"attachment_26\" aria-describedby=\"caption-attachment-26\" style=\"width: 362px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-26 size-full\" src=\"http:\/\/blogs.studiostuiterbal.com\/mytidbits\/wp-content\/uploads\/sites\/2\/2017\/10\/2017-10-29-07_46_16-54446068.swh_.strato-hosting.eu-_-rdbms-_-phpMyAdmin-4.2.12.png\" alt=\"\" width=\"362\" height=\"898\" \/><figcaption id=\"caption-attachment-26\" class=\"wp-caption-text\">phpMyAdmin<\/figcaption><\/figure>\n<p>wp_ is the default and the wp_2 and wp_3 are my network websites that I created. So the pluing uses alle the wp_ stuff and there is one wp_participants_database table added.<\/p>\n<p>I copied that table with phpMyAdmin:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-27\" src=\"http:\/\/blogs.studiostuiterbal.com\/mytidbits\/wp-content\/uploads\/sites\/2\/2017\/10\/2017-10-29-08_05_38-54446068.swh_.strato-hosting.eu-_-rdbms-_-DB3137112-_-wp_participants_database-_--300x116.png\" alt=\"\" width=\"300\" height=\"116\" \/><\/p>\n<p>I tried to do insert into the groups table, that was not available. So these are the 3 tables that should be copied:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-29\" src=\"http:\/\/blogs.studiostuiterbal.com\/mytidbits\/wp-content\/uploads\/sites\/2\/2017\/10\/wp_participants_database_tables.png\" alt=\"\" width=\"322\" height=\"66\" \/><\/p>\n<p>After these copy actions I could use the Participants Database in the network WP site.<br>\nI think I should give this as feedback to the creators of this plugin. That is the way we can help each other. So I left a message on the xnau website.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>I wanted to try out some things with the populair online website and blog creation tools. In my search I ended up trying these two tools: WordPress Drupal If you visit their websites it all looks so incredible well: you want both&#8230; Well that is not going to happen, so I start my incredible learning [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/posts\/24"}],"collection":[{"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":0,"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.studiostuiterbal.com\/mytidbits\/en\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}