Shadow-Here


Server : Apache
System : Linux methusalix2 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
User : hios ( 1437)
PHP Version : 5.6.40-0+deb8u12
Disable Function : proc_close,proc_open,dl,shell_exec,passthru
Directory :  /home/hios/public_html/wp-content/themes/theme-boilerplate/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : /home/hios/public_html/wp-content/themes/theme-boilerplate/README.html
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"/>
</head>
<body>
<h1 id="wordpressthemeboilerplate">WordPress Theme Boilerplate</h1>

<h2 id="authors">Authors</h2>

<ul>
<li>Christopher Rumpler <a href="&#109;&#97;&#105;&#108;&#x74;&#111;&#x3a;&#x63;&#x68;&#114;&#x69;&#x73;&#x74;&#x6f;&#112;&#104;&#101;&#114;&#46;&#114;&#117;&#109;&#x70;&#108;&#101;&#x72;&#x40;&#x6b;&#x6f;&#101;&#x72;&#x62;&#108;&#101;&#114;&#x2e;&#99;&#x6f;&#x6d;&#x5c;">&#99;&#x68;&#114;&#x69;&#x73;&#116;&#x6f;&#x70;&#x68;&#x65;&#x72;&#x2e;&#114;&#x75;&#x6d;&#112;&#x6c;&#x65;&#114;&#x40;&#107;&#x6f;&#101;&#114;&#x62;&#x6c;&#101;&#114;&#x2e;&#x63;&#111;&#109;&#x5c;</a></li>
<li>Florian Flock <a href="&#109;&#97;&#105;&#x6c;&#x74;&#111;&#x3a;&#x66;&#x6c;&#111;&#114;&#105;&#x61;&#x6e;&#x2e;&#x66;&#108;&#111;&#x63;&#x6b;&#x40;&#107;&#x6f;&#101;&#114;&#x62;&#108;&#x65;&#x72;&#46;&#99;&#x6f;&#109;&#x5c;">&#x66;&#x6c;&#x6f;&#114;&#105;&#x61;&#110;&#x2e;&#x66;&#x6c;&#111;&#99;&#x6b;&#x40;&#107;&#111;&#x65;&#x72;&#98;&#108;&#101;&#114;&#46;&#99;&#x6f;&#x6d;&#92;</a></li>
<li>Michael Serajnik <a href="&#x6d;&#97;&#105;&#x6c;&#116;&#x6f;&#x3a;&#109;&#105;&#x63;&#x68;&#x61;&#101;&#108;&#x2e;&#x73;&#x65;&#114;&#x61;&#x6a;&#x6e;&#x69;&#x6b;&#x40;&#107;&#111;&#x65;&#114;&#x62;&#108;&#101;&#x72;&#x2e;&#99;&#111;&#x6d;&#92;">&#x6d;&#105;&#99;&#104;&#x61;&#101;&#x6c;&#x2e;&#x73;&#x65;&#x72;&#x61;&#x6a;&#x6e;&#105;&#107;&#64;&#107;&#x6f;&#101;&#114;&#x62;&#x6c;&#101;&#114;&#46;&#99;&#x6f;&#109;&#x5c;</a></li>
</ul>

<h2 id="abstract">Abstract</h2>

<p>This is a basic boilerplate theme for WordPress development. It features many of our commonly used functions and should be used whenever you are developing a custom theme (in order to have a consistent base for developing themes). It is NOT a guide for how to write/structure HTML/CSS/JS – please ask one of the senior developers if you have questions about that. Christopher and Michael (see authors) can provide you with an up-to-date LESS/SASS structure that works well with this boilerplate, if needed.</p>

<p>Please ask (see authors) if you have questions or are unsure about how to do something specific in WordPress – there are many development shortcuts (that do not compromise code quality) that might not be obvious to new WordPress developers and are hard to find when googling.</p>

<h2 id="features">Features</h2>

<ul>
<li>A good basic structure for any custom theme</li>
<li>An example for splitting up theme files in the correct way (header – template – footer)</li>
<li>An example for extending the TinyMCE editor with custom formats</li>
<li>An example for a custom Visual Composer element</li>
<li>Various &#8220;nice to haves&#8221; (SVG support for uploads, a custom helper function for excerpts, lightbox markup for media links/galleries etc.)</li>
</ul>

<h2 id="prerequisites">Prerequisites</h2>

<ul>
<li><a href="https://wordpress.org/">WordPress</a> (always get the latest version, we make sure this boilerplate is up to date)</li>
</ul>

<h2 id="installation">Installation</h2>

<ol>
<li>Copy the folder <em>theme-boilerplate</em> into <em>wp_content/themes/</em> of your WordPress installation</li>
<li>Change the theme metadata in <em>theme-boilerplate/style.css</em></li>
<li>Change the function name prefixes from <em>boilerplate</em> to a fitting prefix for your theme in all the files in <em>theme-boilerplate/functions</em> – double check to make sure you are not changing a prefix of a function and forget to change it in the hook</li>
<li>Adapt/extend as needed</li>
<li>Activate the theme in the WordPress admin backend</li>
</ol>

<h2 id="plannedfeaturesasofdecember2016">Planned Features as of December 2016</h2>

<ul>
<li>A more elaborate Visual Composer example that includes all the different field types</li>
<li>A custom post type example</li>
</ul>

<p>Furthermore, we would like to provide examples for the following points (and probably more) but don&#8217;t want to include them here (in order to not clutter up the theme) – these will probably be forks (unless we find another way to present them in a ready-to-use fashion).</p>

<p>In the meantime, please ask if you have any questions about these topics.</p>

<ul>
<li>An example for how to use the WordPress AJAX API</li>
<li>An example for how to add widget areas and create custom widgets</li>
<li>An example for a custom nav walker (needed for custom menus that deviate from the basic ul &gt; li &gt; a structure)</li>
<li>An example for adapting/extending WooCommerce</li>
</ul>

<h2 id="additionalinformationaboutwordpressdevelopment">Additional information about WordPress development</h2>

<h3 id="plugins">Plugins</h3>

<p>Here are some plugins you might consider using. Please always check if the plugin is compatible with your version of WordPress. You might need to check manually in a test environment since plugins might not always say that they are compatible with the latest version (even if they are). You can also find a user-voted compatibility overview in the bottom right of the plugin page in the plugin directory (but don&#8217;t rely on that alone).</p>

<h4 id="recommendedpluginsforanywordpressinstallation">Recommended plugins for ANY WordPress installation</h4>

<h5 id="freetheremaybeapaidversionbutthefreeoneisadequateinmostcases">Free (there may be a paid version but the free one is adequate in most cases)</h5>

<ul>
<li><a href="https://wordpress.org/plugins/duplicate-page/">Duplicate Page</a> – for duplicating pages/posts/custom post types</li>
<li><a href="https://wordpress.org/plugins/wp-migrate-db/">WP Migrate DB</a> – for migrating sites to a different environment/server</li>
<li><a href="https://wordpress.org/plugins/wordpress-seo/">Yoast SEO</a> – for SEO (titles, descriptions, keywords etc.)</li>
</ul>

<h5 id="paidwehavelicensekeysforthesepleaseaskflorianormichael">Paid (we have license keys for these, please ask Florian or Michael)</h5>

<ul>
<li><a href="http://www.advancedcustomfields.com/">Advanced Custom Fields Pro</a> – for adding custom fields to pages/posts/custom post types, great for sliders, additional content areas etc.</li>
<li><a href="https://vc.wpbakery.com/">Visual Composer</a> – for adding grid functionality to the TinyMCE editor (based on <a href="http://getbootstrap.com/">Bootstrap</a>) and creating custom elements (it also comes with a ton of preconfigured elements that we disable in this boilerplate, but feel free to check them out)</li>
<li><a href="https://wp-rocket.me/">WP Rocket</a> – adds caching and other performance improvements (combining CSS/JS, minifying HTML etc.) to WordPress</li>
</ul>

<h4 id="situationalplugins">Situational plugins</h4>

<h5 id="freetheremaybeapaidversionbutthefreeoneisadequateinmostcases">Free (there may be a paid version but the free one is adequate in most cases)</h5>

<ul>
<li><a href="https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/">All In One WP Security &amp; Firewall</a> – adds additional security features to WordPress, important for sites that handle money transactions (e.g., WooCommerce shops) – do not configure it without reading the documentation/asking</li>
<li><a href="https://wordpress.org/plugins/breadcrumb-navxt/">Breadcrumb NavXT</a> – adds breadcrumb support</li>
<li><a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a> – adds form management to the WordPress admin backend</li>
<li><a href="https://wordpress.org/plugins/wp-nested-pages/">Nested Pages</a> – changes the default page overview to a tree view and allows you to sync it with the menu – use with caution, known to break pages (temporarily) if configured/used incorrectly</li>
<li><a href="https://de.wordpress.org/plugins/tinymce-advanced/">TinyMCE Advanced</a> – extends the TinyMCE editor and adds lots of cool features that make life easier, might be overkill for small sites</li>
<li><a href="https://wordpress.org/plugins/query-monitor/">Query Monitor</a> – for debugging in case of (server-side) performance issues</li>
<li><a href="https://wordpress.org/plugins/quick-pagepost-redirect-plugin/">Quick Page/Post Redirect Plugin</a> – adds redirect support to posts/pages/custom post types/URLs in general</li>
<li><a href="https://wordpress.org/plugins/woocommerce/">WooCommerce</a> – the most commonly used shop plugin for WordPress</li>
<li><a href="https://wordpress.org/plugins/woocommerce-germanized/">WooCommerce Germanized</a> – extends WooCommerce to become legally compliant for German markets</li>
<li><a href="https://wordpress.org/plugins/wp-mail-smtp/">WP Main SMTP</a> – forces WordPress to send mails via SMTP (instead of using the PHP <em>mail()</em> function) – only use when necessary</li>
</ul>

<h5 id="paidwehavelicensekeysforthesepleaseaskflorianormichael">Paid (we have license keys for these, please ask Florian or Michael)</h5>

<ul>
<li><a href="https://wpml.org/">WPML</a> – adds multilanguage support to WordPress, has different additional plugins (for static string translation, WooCommerce support etc.)</li>
</ul>

<h3 id="usefullinks">Useful links</h3>

<ul>
<li><a href="https://codex.wordpress.org/">WordPress Codex</a> – the official WordPress documentation</li>
<li><a href="https://developer.wordpress.org/">WordPress Developer Resources</a> – useful information about WordPress development (especially plugins)</li>
<li><a href="http://t3n.de/news/grosse-guide-wordpress-theme-555618/">Das eigene WordPress-Theme erstellen (German)</a> – a detailed guide for WordPress theme development</li>
<li><a href="http://www.smashingmagazine.com/2015/06/19/wordpress-custom-page-templates/">A Detailed Guide To WordPress Custom Page Templates</a> – a detailed guide for custom templates</li>
<li><a href="http://www.smashingmagazine.com/2015/04/22/extending-wordpress-custom-content-types/">Extending WordPress With Custom Content Types</a> – a detailed guide for custom post types</li>
</ul>

</body>
</html>

Samx