haero_canada
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to display specific wp categories in unordered listRESOLVED!!! Luckily I just remembered that I used the same snippet on another website of mine – so I just copied it from there ?? so happy!
Being always keen to share, here is the magical snippet I was looking for, in case some else wants to use it:<?php
wp_list_categories(‘show_count=1&include=4,15,14,13&title_li=’); ?><?php
// Grab the categories – top level only (depth=1)
$get_cats = wp_list_categories( ‘echo=0&title_li=&depth=1’ );
// Split into array items
$cat_array = explode(”,$get_cats);
// Amount of categories (count of items in array)
$results_total = count($cat_array);
// How many categories to show per list (round up total divided by 3)
$cats_per_list = ceil($results_total / 3);
// Counter number for tagging onto each list
$list_number = 1;
// Set the category result counter to zero
$result_number = 0;
?>Take care
Forum: Themes and Templates
In reply to: Calenotis Magazine and categoryGood day gentlemen,
Just like mgelardi, I’m also struggling to remove the encrypted bad code, preventing me from removing the totally unrelated and unneeded links on my footer, using the same Calenotis Theme. Mgelardi or alchymyth, I would greatly appreciate if you can share with me the solution to the problem. If I knew about this “evil like” idea (to not be able to remove/edit footer links, and your site shuts down, if you try to do so), I would’ve never downloaded this theme, period, although I really liked it at first sight. The big problem is….I already spent…probably a total of 3 weeks of very hard work, to put up a lot of content, and create a nice looking layout, and It’ll be very sad if I have to let it go.
[email redacted – these forums do not provide help via email]I appreciate your understanding in advance
Cheers