Basic PHP calls for WordPress

PHP is an open source scripting language for making dynamic websites. The acronym stands for Personal Home Page. Here is what PHP calls look like: <?php get_header(); ?> <?php get_sidebar(); ?> <?php get_footer(); ?> This is how you call your header and footer in a WordPress blog. Look like Greek? Here's how to read it: <?php - This [...]
PHP is an open source scripting language for making dynamic websites.
The acronym stands for Personal Home Page.
Here is what PHP calls look like:

<?php get_header(); ?>
<?php get_sidebar(); ?>

<?php get_footer(); ?>
This is how you call your header and footer in a WordPress blog.

Look like Greek? Here's how to read it:
<?php - This how php tells the server that a php call is being made.

get_header(); - This is a WordPress function that can be called from within PHP.

?> - This is how the server is told that it reaches the end of the PHP call.

Tags: , , , , ,

Leave a Reply

You must be logged in to post a comment.