vendredi 27 novembre 2015

Wordpress How to include a plugin

I am new to wordpress theme development. I have started creating a wordpress theme from scratch, just by creating a folder, an index, header,footer,functions,style pages. I have called the header and footer functions from index page and i have the header page as follows..

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://ift.tt/pWm1pE">
<html xmlns="http://ift.tt/lH0Osb" <?php language_attributes() ?>>
<head profile="http://gmpg.org/xfn/11">
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen,projection" />

<?php wp_head(); ?>

</head>

<body>

<div id="wrapper">

I have installed a plugin called WP Code Highlight.js .. i have activated it also.. but i cant use it in the page. Is there any code to include all activated plugins? Is there something i have missed?I need to have the activated plugins..



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire