Metroportal

Pluxml Bootsrap Metro Theme


Thank you for downloading my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

This theme is a responsive bootstrap based layout with two sidebars that you can customize.
All widgets for customizations are located into inc folder.
The theme use the awesomefont and you can place Font Awesome icons just about anywhere with the <i> tag.

Example

<i class="fa fa-camera-retro"></i> normal font icon
For more examples go to http://fontawesome.io/examples/ 

Here you can find the complete set of 519 icons in Font Awesome 4.3.0



 


 

I'm using various CSS files in this theme. The first one is a generic bootstrap core, after we have the bootstrap customization css and the fontawesome and weather icons css. Finally we have the general styling, such as anchor tag colors, social, weather, etc. Keep in mind, that these values might be overridden somewhere else in the file.

/* === General Section === */
some code
/* === Social === */
some codeetc, etc.

If you would like to edit a specific section of the site, simply find the appropriate label in the CSS file, and then scroll down until you find the appropriate style that needs to be edited.
If you want change the color of header widgets open and change the list-group-item class for the color desired.

<div class="list-group-item primary"> For this color

<div class="list-group-item success"> For this color

<div class="list-group-item info"> For this color

<div class="list-group-item warning"> For this color

<div class="list-group-item danger"> For this color

 

In the two sidebars we have put all widgets by a include php code.

You can include or exclude sigle widget by addig a double slash before the inclusion code

Example

<!-- Include Widget -->
<?php include(dirname(__FILE__).'/name of the widget.php'); ?>

<!-- Exclude Widget -->
<?php // include(dirname(__FILE__).'/name of the widget.php'); ?>

 


The widgets are:

inc.carousel.php  you can enable or disable it in home.php

inc.adsense.php - inc.events.php - inc.facebook.php -  inc.weather.php you can enable or disable it in sidebar.php and sidebar.left.php

Footer you can enable or disable  inc.analyticstracking

there are also a inc.random.php that you can use to display some random photo from media folder

 

If you use this widget open the file inc.weather.php in the inc folder and change the location for your desired city

find this code

$city="xxxxxx"; // City Name example "Rome"
$country="xx"; //Two digit country code example "IT"

and change for your desired city.

 

To find your city go to openweathermap

 

 

 

Ad Sense

For the google ad sense widget open the file inc.adsense.php in the inc folder and change the code with your publisher code by replacing the xxxxxxxxx

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Programmers -->
<ins class="adsbygoogle programmers"
     style="display:block"
     data-ad-client="ca-pub-xxxxxxxxxx"
     data-ad-slot="xxxxxxxxxx"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

 

Analytics Tracking

For the google analytics tracking widget open the file inc.analyticstracking.php in the inc folder and change the code with your publisher code by replacing the xxxxxx-x code

 

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-xxxxxx-x', 'auto');
  ga('send', 'pageview');
</script>

Open inc.facebook.php file locate in inc folder and change the relative code for display the like number and the like button

cnahge the id xxxxxxxx code

<?php $pageID = 'xxxxxxxxxx';
 $info = json_decode(file_get_contents('http://graph.facebook.com/' . $pageID));
  echo $info->likes; ?>

Change the avatar imge for your desired image.

inc.event.php

to customize the date and the event change this code for your desired

<time datetime="2015-12-20"> <!-- change datetime to your desired date -->
  <span class="day">20</span> <!-- Event Day -->
<span class="month">Dic</span> <!-- Event month -->
<span class="year">2015</span> <!-- Event year -->
<span class="time">09:30 AM</span> <!-- Event time -->
</time>
<div class="info">
<h2 class="title">2° Half Marathon</h2> <!-- Event Title -->
<p class="desc">Policoro ore 09.30</p> <!-- Event Description -->
</div>

 

Other little settinge are:

inc.author.php

you have to change the path for the avatar image (40x40) or in images folder change avatar.jpg with your image that you rename avatar.jpg

inc.links.php

to include a links widgtes download the blogroll plugin and activate it form the site.
The  plugin can be downloaded from http://thepoulpe.net

inc.random.php

change the path for the desired random photo folder to display (no thumb in the folder)

$path = 'data/images/photos/you folder desired/';

inc.footer.php

insert in the address column your address.

 

I've used.

 


Once again, thank you so much for downloading this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes, you might consider visiting the forum at PLUXML.ORG  and asking your question.

Nicola Laviola