{"id":2294,"date":"2012-11-14T11:45:24","date_gmt":"2012-11-14T10:45:24","guid":{"rendered":"http:\/\/wppa.opajaap.nl\/?page_id=2294"},"modified":"2021-09-02T12:51:27","modified_gmt":"2021-09-02T10:51:27","slug":"dos-and-donts","status":"publish","type":"page","link":"https:\/\/wppa.nl\/de\/docs-by-subject\/dos-and-donts\/","title":{"rendered":"Do's and Dont's"},"content":{"rendered":"<p><a id=\"dos\"><\/a><\/p>\n<h3>Do's<\/h3>\n<ol>\n<li>Create a page with content: <code>[<b><\/b>wppa type=\"landing\"]<\/code><br \/>\nUse a page template without sidebars, publish it and do not add it to any menu.<\/li>\n<li>Use the landing page in <strong>Basic settings -> Links<\/strong> in the column 'Landing Page' when a page selection box appears and you do not know anything else to select there.<\/li>\n<li>Use the landing page as <strong>Search page<\/strong> in the Setting in <strong>Basic settings -> Search -> I -> Item 1: Search landing page<\/strong><\/li>\n<li>In case of problems in a new installations: Check the requirements below!<\/li>\n<li>If the Settings page stayes blank and you have <strong>w3 Total cache<\/strong> installed, de-activate w3 Total cache (temporary). There have been reports where it blocked the options database table<\/li>\n<li>If you have plugin <strong>T<b><\/b>ablePress<\/strong> installed, please read <a href=\"https:\/\/wordpress.org\/support\/topic\/logged-out-user-cannot-access-slideshow?replies=6#post-6129455\" title=\"support issue\" target=\"_blank\" rel=\"noopener\">this support thread<\/a><\/li>\n<li>If you have plugin <b>CM Tooltip Glossary<\/b> active, it is strongly recommended to tick the box in <strong>Advanced settings -> System -> I -> Item 11: Defer javascript<\/strong> to avoid problems in the slideshow. This happens when tooltip keywords appear in urls.<\/li>\n<li>If you have Buddypress and you want to display the users photos on his profile page, put this in the profile page template:\n<pre>&lt;?php\r\nglobal $bp;\r\n$owner = $bp->displayed_user->userdata->user_login;\r\necho apply_filters('the_content','[<b><\/b>wppa type=\"album\" album=\"#owner,'.$owner.'\"]');\r\n?&gt;<\/pre>\n<\/li>\n<\/ol>\n<hr \/>\n<p><a id=\"donts\" ><\/a><\/p>\n<h3>Dont's<\/h3>\n<ol>\n<li>If you have the plugin <strong>Google Analytics for WordPress<\/strong> activated, DO NOT check the <strong>Track outbound clicks & downloads:<\/strong> checkbox in its configuration. Why? read <a href=\"http:\/\/wordpress.org\/support\/topic\/destructed-code-inside-a-cdata-block?replies=1#post-3381195\" target=\"_blank\" rel=\"noopener\">this bug report<\/a>.<br \/>\nThe same problem may arise in certain themes that allow you to incorporat the Analytics Code.<\/li>\n<li>DO NOT <strong>minify HTML<\/strong> in <strong>W3TotalCache<\/strong>. It damages the breadcrumb separation characters like &amp;raquo; ( &raquo; ) and it damages the filmstrip under the slideshow.<br \/>\nIf you're not using breadcrumbs and just want a working filmstrip with W3 Total Cache still able to minify your HTML, you can add a setting in W3TC to ignore WPPA.<br \/>\nThe setting is in W3TC's under performance on the left, then minify. Then in the ignored comment stems box add 'wppa' (without the quotes) save and empty the cache, then reload the gallery and the filmstrip will display as normal.  <div id=\"wppa-container-wrapper-1\" class=\"alignnone wppa-container-wrapper \" style=\"width:100%;clear:both;padding:0;position:relative;\"><div id=\"wppa-container-1\" style=\"width:100%;\" class=\"wppa-container wp-caption\"><div style=\"font-size:0;line-height:0\"><img id=\"ph-3950-1\" title=\"J1I6okK.png\" style=\"width:100%;margin:0;padding:5px;border:1px solid #c0c0c0;box-sizing:border-box;background-color:#f0f0f0;border-radius:6px;\" alt=\"3950\" class=\"size-medium wppa-sphoto\" onload=\"wppaLazyLoaded++;wppaMakeLazyVisible(&#039;onload&#039;);\" onerror=\"wppaLazyLoaded++;\" decoding=\"async\" data-src=\"https:\/\/wppa.nl\/wp-content\/uploads\/wppa\/3950.png?ver=689\" data-stack=\"picture:296:functions:4223\"><\/div><div class=\"wp-caption-text\"><\/div><svg id=\"wppa-ajax-spin-1\" class=\"wppa-ajax-spin uil-default\" width=\"120px\" height=\"120px\" viewBox=\"0 0 135 135\" preserveAspectRatio=\"xMidYMid\" stroke=\"\" style=\"width:120px; height:120px; position:fixed; top:50%; margin-top:-60px; left:50%; margin-left:-60px; opacity:1; display:none; fill:#404040; background-color:transparent; border-radius:12px;\"><path d=\"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z\"><animateTransform attributeName=\"transform\" type=\"rotate\" from=\"0 67 67\" to=\"-360 67 67\" dur=\"2.5s\" repeatCount=\"indefinite\" ><\/path><path d=\"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z\"><animateTransform attributeName=\"transform\" type=\"rotate\" from=\"0 67 67\" to=\"360 67 67\" dur=\"8s\" repeatCount=\"indefinite\" ><\/path><\/svg><\/div><\/div>\n<!-- End [wppa type=\"photo\" photo=\"3950\"] \/de\/wp-json\/wp\/v2\/pages\/2294 oc 1 17 queries in 23.6 ms. at 16:10. Max mem: 62.50 Mb. --><br \/>\nAlternatively, you can tick the box in <strong>Advanced settings -> System -> I -> Item 23: Lazy load<\/strong>. The filmstrip will also display properly, but it will drop performance, especially in large filmstrips.\n<\/li>\n<li>If you have the plugin <strong>User Access Manager<\/strong> DO NOT set the <strong>lock files<\/strong> setting to yes!<\/li>\n<li><strong>DO NOT<\/strong> use custom permalinks, use one of the predefined types<\/li>\n<li>If you have <strong>Yoast WordPress SEO<\/strong> installed, Make sure that on the page <em>Permalinks<\/em> you do <strong>NOT<\/strong> check the <em>Redirect ugly URL's to clean permalinks<\/em> checkbox!!<\/li>\n<li>If you have the plugin <strong>Shortcodes Ultimate<\/strong> installed do <strong>NOT<\/strong> check the (default checked) box <em>Custom formatting<\/em>. There are also other plugins that do a wpautop() after the expanson of shortcodes ( level 11 in apply_filters('content'); ). Disable that!!! it ruins the html created by wppa+<\/li>\n<li>If you use <strong>Cloudflare<\/strong>, disable <em>rocketscript<\/em> completely. If even corrupts wp jquery libraries.<\/li>\n<li>Never ever use google api jquery libraries. The simply do not work.<\/li>\n<li>Do NOT use a lazy-load plugin, it does NOT speed up wppa+ that takes care of lazy loading itsself.<\/li>\n<\/ol>\n<p><a id=\"whitelist\"><\/a><\/p>\n<hr \/>\n<h3>Compatible plugins ( white list )<\/h3>\n<p><b>This plugin is compatible with and \/ or has special code embedded to support the features of the following plugins<\/b> ( in alpahbetical order ):<\/p>\n<ul>\n<li>Cloudinary<\/li>\n<li>CMTooltipGlossary<\/li>\n<li>CubePoints<\/li>\n<li>Fotomoto<\/li>\n<li>qTranslate ( qTranslate-x )<\/li>\n<li>QuickCache<\/li>\n<li>Simple Cart and Buy Now<\/li>\n<li>WP supercache<\/li>\n<\/ul>\n<p><a id=\"graylist\"><\/a><\/p>\n<hr \/>\n<h3>Tricky plugins ( gray list )<\/h3>\n<p><b>You can expect - mostly lay-out - problems when you have one or more of the following plugins active and not corrrectly configured<\/b><\/p>\n<ul>\n<li>Shortcodes Ultimate<\/li>\n<li>T<b><\/b>ablepress<\/li>\n<\/ul>\n<p><a id=\"blacklist\"><\/a><\/p>\n<hr \/>\n<h3>Incompatible plugins ( black list )<\/h3>\n<p><b>It is certain that you will have problems when you have one or more of the following plugins active<\/b><\/p>\n<ul>\n<li>WP Fluid images<\/li>\n<li>Performance optimization order styles and javascript<\/li>\n<li>WP ultra simple paypal shopping cart<\/li>\n<li>Cachify<\/li>\n<li>WP deferred javascripts<\/li>\n<li>Frndzk photo lightbox gallery<\/li>\n<\/ul>\n<p><a id=\"requirements\"><\/a><\/p>\n<hr \/>\n<h3>Requirements<\/h3>\n<p><strong>WP Requirements:<\/strong><\/p>\n<ol>\n<li>The plugin requires at least wp version 3.1.<\/li>\n<\/ol>\n<p><strong>Theme Requirements:<\/strong><br \/>\n<small style=\"color:blue\" >The following requirements are not exceptional. All themes that meet the standard WP theme specifications will also meet the requirements that wppa+ relies upon. Only faulty\/incomplete themes or if you modify the theme without knowing the consequences of it may cause problems. Possible problems are: slideshow does not run, popup does not work, lightbox does not work etc...<\/small><\/p>\n<ol>\n<li>The theme should have a call to <strong>wp_head()<\/strong> in its header.php file.<\/li>\n<li>The theme should have a call to <strong>wp_footer()<\/strong> in its footer.php file.<\/li>\n<li>The theme should load enqueued scripts in the header if the scripts are enqueued without the $in_footer switch (like wppa.js and jQuery).<\/li>\n<li>The theme should not prevent this plugin from loading the jQuery library in its default wp manner, i.e. the library jQuery in safe mode (uses <strong>jQuery()<\/strong> and not <strong>$()<\/strong>).<\/li>\n<li>The theme should not use <strong>remove_action()<\/strong> or <strong>remove_all_actions()<\/strong> when it affects actions added by wppa+.<\/li>\n<\/ol>\n<p><small style=\"color:blue\" >The requirements above are listed here because i have seen violations of all of them<\/small><br \/>\n<a id=\"Server\"><\/a><br \/>\n<strong>Server Requirements:<\/strong><\/p>\n<ol>\n<li>The server should have at least <strong>64MB<\/strong> of memory available.<\/li>\n<li>You must have sufficient rights on the <strong>WP database<\/strong> to isue the MySql commands <strong>CREATE TABLE<\/strong> and <strong>ALTER TABLE<\/strong>.<\/li>\n<li>Make sure your php.ini does not have a setting that disables the possibility of uploading images.<\/li>\n<li>PHP version 5.3 or higher.<\/li>\n<\/ol>\n<hr \/>\n\n","protected":false},"excerpt":{"rendered":"<p>Do's Create a page with content: [wppa type=\"landing\"] Use a page template without sidebars, publish it and do not add it to any menu. Use the landing page in Basic settings -> Links in the column 'Landing Page' when a page selection box appears and you do not know anything else to select there. Use <a href='https:\/\/wppa.nl\/de\/docs-by-subject\/dos-and-donts\/' class='excerpt-more'>[...]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":4738,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2294","page","type-page","status-publish","hentry","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/2294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/comments?post=2294"}],"version-history":[{"count":3,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/2294\/revisions"}],"predecessor-version":[{"id":6741,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/2294\/revisions\/6741"}],"up":[{"embeddable":true,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/4738"}],"wp:attachment":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/media?parent=2294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}