Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: get favorites list


Alifar
Blocked

@56alifar

Nope didn’t work, i got the entire website loading serveral times in my sidebar where i put the following code:

<?php

$topics = get_user_favorites( $user->ID, true );

$favorites_total = isset($user->favorites) ? count(explode(',', $user->favorites)) : 0;

bb_load_template( 'favorites.php', array('favorites_total') );

?>

Skip to toolbar