WordPress is great. We love it. It keeps evolving way faster than Drupal ever did. Well, in the beginning Drupal was great. But for some reason, Drupal died. Anyway. As a South Florida WordPress Development Agency, we get to dig into WordPress pretty deeply. One thing that might not be too obvious to most people, is how do we create a plugin and use a theme file that can be overwritten as needed?

Here’s how:

add_filter(‘single_template’, ‘my_plugin_single_template’); function my_plugin_single_template($single) { global $wp_query, $post; $filename = ‘single-‘.$post->post_type.’.php’; if(!locate_template($filename)) { $filepath = MY_PlUGIN_PATH . ‘/templates/’ . $filename; if(file_exists($filepath)) { $single = $filepath;

What is Hotlinking?

Hotlinking is the process of displaying an image on a website by linking to that same image on a different website. Instead of loading the picture onto their own site, they link to a picture on a different site. When the picture is loading onto the site, it is actually being loaded by the site of origin. If this occurs, it uses the bandwidth of the website that is loading the picture and can cost the website owner’s money since website hosting companies can charge for the amount of data used by the site. This can be

Social media is a great tool for marketing. A presence there can help bring in your targeted audience. While many companies have figured out how to use Facebook, Twitter can be a little more confusing. They may wonder how to use 140 characters to get their message out. The key is to have a large following. Tweeting a message or two a day to a small following won’t get you the response you want. It is important to grow your followers in order to reach a larger audience. A great way to get a larger following is to follow others.

We love phpMyAdmin here at TBO (The Barton Organization). We’ve written a few great articles about phpMyAdmin. Our most popular being phpMyAdmin SSL; take a look at that one, but only after you read this article.

phpMyAdmin SSH Tunnel

Managing servers can be a pain. That’s why people hire Development companies like us. A tip we’re willing to share, or a way of doing something, is using phpMyAdmin to manage multiple database servers. phpMyAdmin has a config.inc.php file. That file has the ability for servers to be added to it. So let’s add a server to it:

$port

Nobody likes spam—mostly it is just annoying, but sometimes it can be harmful. Referrer spam in Google Analytics is annoying because it confuses the data, making it less useful and more difficult to understand. When you want to know how much traffic your site is getting, referrer spam can be a real problem.

What is Referrer Spam?

Referrer spam is fake referral traffic recorded in your Google Analytics. This fake traffic is created by spam bots, not actual visitors to your site.

What is a Spambot?

Crawler programs designed to perform repetitive tasks with accuracy are called bots. Bots whose

Securi Security’s Q2 Report for 2016 is out. The data in their report is based on compromised websites they worked on/with; it includes insights & analysis performed by Securi’s Incident Response Team (IRT) & Malware Research Team (MRT).

What they Analyzed: CMS Analysis

Securi’s analysis included over 9,000 infected websites. The report is verify thorough. Just goes to show that it’s very important to update your websites! Or, get The Barton to do it for you.

 

Visit Securi Security

Another article you may be interested in is our phpMyAdmin SSL article that teaches you how to force SSL with phpMyadmin. This article is great if you want to: wordpress change db prefix.

Every so often you need to change your database prefix, whether it’s because you need to secure your WordPress website a little bit, or you want to make it easier to identify which tables are for what. Regardless, you need a simple way to change or remove your database table prefix. This article will tell you how to do that using phpMyAdmin.

How to change a

I’m not fan of the command line. But it’s necessary if you want to get things done. Any linux / mac command line user should know how to use the rm command. But what if you want the files to go to the trash can instead? Here’s how to do that on mac.

First, get yourself brew

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Then all you have to do is this:

brew install trash

From then on, all you have to do is type:

trash my-file.txt

Your file will then be moved into the trash can. What if you want to use

The Barton Organization is a Drupal Development agency located in Broward County, Florida. Looking for a Florida Drupal developer? Give The Barton a call today!

Drupal is the best. I love WordPress, but Drupal is better when working with larger projects. It handles the css, js and modules so much cleaner than WordPress. But since there are so many things you can do in Drupal, you might not know how to do everything.

How to add javascript to the front page

/** * Implementation of hook_init(). */ function YOURMODULE_init() { if(drupal_is_front_page()) { // drupal_add_js() // // or // //

Find the Best SEO in Fort Lauderdale, Florida (Plantation SEO) | Drupal & Worpress Develpment