chrisos
Forum Replies Created
-
I have the same issue.
it would be great to get back to the old (and great) functionality!Forum: Fixing WordPress
In reply to: Feature disabled errorForum: Fixing WordPress
In reply to: Error – “Feature Disabled”Thanks Michael!
I think it was a problem with a plugin called Kramer…
I disabled it and didn’t get any problem recently…Forum: Fixing WordPress
In reply to: Error – “Feature Disabled”hi, I have the same problem!
where is your blog hosted?
which theme/plugins are you using?Forum: Fixing WordPress
In reply to: Feature disabled errorhi, I have the same problem!
where is your blog hosted?
which theme/plugins are you using?Forum: Fixing WordPress
In reply to: Links in Tiga Themeit is in your wp-includes directory!
Forum: Fixing WordPress
In reply to: Links in Tiga Themeit works : have a look
http://scope.chrisos.com/Forum: Fixing WordPress
In reply to: Links in Tiga Themereplace line 119 of bookmarks.php by
$orderby = 'rand()';//"link_" . $orderby;Forum: Fixing WordPress
In reply to: Links in Tiga Themein bookmark-tamplates.php
/** function wp_get_links()
** Gets the links associated with category n.
** Parameters:
** category (no default) - The category to use.
** or:
** a query string
**/
function wp_get_links($args = '') {
global $wpdb;
if ( empty($args) )
return;
if ( false === strpos($args, '=') ) {
$cat_id = $args;
$args = add_query_arg('category', $cat_id, $args);
}
parse_str($args);
if ( !isset($category) ) $category = -1;
if ( !isset($before) ) $before = '';
if ( !isset($after) ) $after = '<br />';
if ( !isset($between) ) $between = ' ';
if ( !isset($show_images) ) $show_images = false;
if ( !isset($orderby) ) $orderby = 'rand';
if ( !isset($show_description) ) $show_description = false;
if ( !isset($show_rating) ) $show_rating = false;
if ( !isset($limit) ) $limit = -1;
if ( !isset($show_updated) ) $show_updated = 1;
if ( !isset($echo) ) $echo = true;
return get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, $show_rating, $limit, $show_updated, $echo);
} // end wp_get_linksForum: Fixing WordPress
In reply to: Links in Tiga Themetry this : in tiga.php
/*
* Override the default 'Links' widget
*/
function tiga_links_widget($args)
{
global $wpdb;
extract($args);
/* Links from the 'Links Manager' */
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->categories WHERE link_count>0");
foreach ($link_cats as $link_cat)
{
if (get_links($link_cat->cat_id, '', '', '', FALSE, '', FALSE, FALSE, -1, FALSE, FALSE))
{
echo '<li class="left-wp-widget %2$s">' .
$before_title . $link_cat->cat_name . $after_title .
'
<ul>';
wp_get_links($link_cat->cat_id,$args);
echo '</ul>
'.
$after_widget;
}
}
}Forum: Fixing WordPress
In reply to: Blogroll Problems on WP 2.1/Tiga ThemeForum: Fixing WordPress
In reply to: Blogroll Problems on WP 2.1/Tiga ThemeHi,
I think the problem is in tiga.php:
function tiga_links_widget($args)
{
global $wpdb;
extract($args);
$before_title_loc = ‘<li class=”left-wp-widget %2$s”>’.$before_title;
$after_title_loc = $after_title.’- ‘;
$after_widget_loc =’‘.$after_widget;
/* Links from the ‘Links Manager’ */
$link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->categories WHERE link_count>0”);$link_cat =$link_cats[1];
//{
$toto= “”;//$link_cat->cat_id;
echo $before_title_loc.$after_title_loc;
$book_cur_chrisos = ‘orderby=rand&categorize=1&category=’.$toto.’&category_orderby=id&show_images=0&show_description=0&hide_invisible=1′;
//before=&after=<br>&
//$book_cur_chrisos = ‘category=’.$toto;//.’&before=<tata>&after=</tata>’;
//&title_before=’.$before_title_loc.’&title_after=’.$after_title_loc
//echo $book_cur_chrisos;
//wp_list_bookmarks(‘before=<span>&after=</span>&show_images=1&show_description=0&orderby=url’);
wp_list_bookmarks($book_cur_chrisos);
echo $after_widget_loc;
//}
}