Commit 9dcc771f authored by shammash's avatar shammash Committed by lechuck

add noblogs-home theme

parent 98308108
<?php
function noblogs_bp_about() {
?>
<div id="noblogs_about">
<table border="0">
<tr>
<td class="apicetto_sx">&#8220;</td>
<td class="about_text">
... una piattaforma di blogging
<a href="/policy/">libera ed anonima</a>,
a cura del collettivo
<a href="http://www.autistici.org/">Autistici /
Inventati</a>.
</td>
<td class="apicetto_dx">&#8222;</td>
</tr>
</table>
</div>
<?php
}
if ($_GET['test_home'] == '1') {
add_action('bp_before_blog_home', 'noblogs_bp_about');
}
/*
Theme Name: NoBlogs Home (Buddypress)
Theme URI: http://noblogs.org/
Description: NoBlogs home page theme.
Version: 1.0
Author: autistici.org
Author URI: http://www.autistici.org/
Template: bp-default
Tags: buddypress, two-column, grey, dark
*/
/* Inherit the default theme styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );
/* Inherit the default theme adminbar styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
#noblogs_about {
height: 200px;
background: url(/wp-content/themes/noblogs-home/images/animation.gif) no-repeat;
padding-left: 170px;
padding-top: 40px;
font-family: Helvetica, arial, sans-serif;
font-size: 28px;
line-height: 1.2em;
}
#noblogs_about .apicetto_sx {
vertical-align: top;
font-size: 48px;
color: #666;
}
#noblogs_about .about_text {
}
#noblogs_about .apicetto_dx {
font-size: 48px;
color: #666;
vertical-align: bottom;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment