Forums
(@thepaperdump)
15 years, 9 months ago
yep, header.php ?? or you can put it in a function and call the function in your header, loop, wherever.
how can it tell the difference between each gallery?
double bump, this feature is v.v.v.important to us ~
15 years, 10 months ago
Hi, Nzahn, I’m not quite sure what your question is regarding (I’m a bit slow), more details please?
16 years, 3 months ago
FYI:
if(is_category() || is_single()){ $cat = get_category_by_path(get_query_var('category_name'),false); $current = $cat->cat_ID; $current_name = $cat->cat_name; echo "Current category ID is ".$current." and is called ".$current_name; }
You rock.
https://lesterchan.net/portfolio/programming/php/#wp-postviews
Used that, created a function around it, and worked out great for me.
16 years, 4 months ago
Not what I need. Those display views per post. I want views for the entire blog.
16 years, 5 months ago
nevermind, got it working. I forgot I was using the dev. database that had different into.
did it by editing feed-rss2.php, thanks @_@;
no idea?