This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'LowpressWordpressBundle:Default:index.html.twig' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends '::base.html.twig' %} | |
{% block body %} | |
{% block content %}{% endblock %} | |
{% block sidebar %}{{ lowpress_get_sidebar() }}{% endblock %} | |
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'LowpressWordpressBundle::layout.html.twig' %} | |
{% block content %} | |
{% if lowpress_have_posts() %} | |
{% for i in 0..wp_query.post_count-1 %} | |
{{ lowpress_the_post() }} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ lowpress_get_header() }} | |
{% block body %}{% endblock %} | |
{% block javascripts %}{% endblock %} | |
{{ lowpress_get_footer() }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_header( $name = null ) { | |
do_action( 'get_header', $name ); | |
$templates = array(); | |
if ( isset($name) ) | |
$templates[] = "header-{$name}.php"; | |
$templates[] = 'header.php'; | |
// Backward compat code will be removed in a future release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Symfony2 Bridge | |
Plugin URI: http://www.lowpress.com | |
Description: Integrate Symfony2 and Wordpress | |
Author: Mikee Franklin | |
Version: 1.0 | |
Author URI: http://www.lowpress.com | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Symfony2 Bridge | |
Plugin URI: http://www.lowpress.com | |
Description: Integrate Symfony2 and Wordpress | |
Author: Mikee Franklin | |
Version: 1.0 | |
Author URI: http://www.lowpress.com | |
*/ | |
function rename_template_functions() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//.. | |
function get_header( $name = null ) { | |
do_action( 'get_header', $name ); | |
$templates = array(); | |
if ( isset($name) ) | |
$templates[] = "header-{$name}.php"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//.. | |
// ** MySQL settings - You can get this info from your web host ** // | |
/** The name of the database for WordPress */ | |
define('DB_NAME', 'lowpress'); | |
/** MySQL database username */ | |
define('DB_USER', 'root'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[parameters] | |
database_driver = pdo_mysql | |
database_host = localhost | |
database_port = | |
database_name = lowpress | |
database_user = root | |
database_password = |