deadlyhifi
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: hitcounter] Double CountI figured out the problem. If
the_excerpt()
is displayed on the page as well as thethe_content()
the code runs twice since they are both returning$content
.I’ve just trying to figure out how to make it act only on full content…
Forum: Plugins
In reply to: [Plugin: hitcounter] Double CountHi DigitalAlias,
the plugin works by adding 1 to the view count in the database when
the_content()
is called on a single page (is_single()
). All I can think of right now is thatthe_content()
is called more than once, somehow, on your page.Could you post your single.php on https://pastebin.com/ or some service like that so I could have a look.
I’ll just do a bit more research into adding filters on the_content as well.
Forum: Plugins
In reply to: [Plugin: Faster Image Insert] Insert Multiple Images button missing in 2.8.4scrap that. there’s no conflict. BUT, it’s not working in Safari 4.0.3 on Mac. Firefox 3 works fine.
Forum: Plugins
In reply to: User search within pluginreally, no one can point me in the right direction? What about a plugin that has search within it so i can use it as an example.
Forum: Installing WordPress
In reply to: Upgraded to 2.8.1 – but in admin WP still ask me to upgradegot the same issue here. Auto upgrade failed, and manual upgrade still states I need to do the update.
Edit: in WPMU…
Forum: Themes and Templates
In reply to: Problems with is_home() or is_front_page()Took me a while to find it, but here it is in all its glory. Thanks.
Forum: Fixing WordPress
In reply to: get_post_custom_values problemyou need https:// before your “url” value.
Forum: Fixing WordPress
In reply to: A little rant about bbPress followed by some questions…Unfortunately including wp-load in the bb-config brings up the same issues as including wp-blog-header or other variations.
The issues are reduced essential bbPress functionality.
The worst thing is bbPress pages say: “Doing this will add quite a lot of weight to your bbPress installation as it will cause WordPress to load in it’s entirety. Your best option is to try to emulate the functionality you require inside a bbPress plugin.”
But I cant find a plugin anywhere that brings this functionality.
the above didn’t work, but changing
$(
to
$map(
did.
Forum: Requests and Feedback
In reply to: get_the_category() is hit and miss when using sub-categories.<?php the_category(' » ') ?>
is the code I’m using.I don’t think how ‘the_category’ lists is the problem, as within the admin area the order of assigned categories shows a similar issue, i.e. they don’t always follow the ‘main-cat > sub-cat’ order.
This generally isn’t too much of a problem, but my issue is that I’m selling adverts based on ‘archive.php’ category pages, and I return what category someone wants their advert on by detecting the current category (with ‘get_the_category’).
My current workaround is to make everything a top level category. But when my listings extend outside the UK it could get a little messy.
Thanks for your replies.
Forum: Requests and Feedback
In reply to: get_the_category() is hit and miss when using sub-categories.Thanks. I have noticed it in the past but it was never so critical as it is to me now.
Forum: Fixing WordPress
In reply to: How can I list categories hierarcical for a post?yes, this issue has been present for some time now, and is most annoying.I have as yet not figured a fix. I think it’s up to the WP team to sort out.
Forum: Fixing WordPress
In reply to: User upload file form?Forum: Installing WordPress
In reply to: Wrapper/IframeForum: Fixing WordPress
In reply to: open within page?just stumbled across this again.
I’m not using it anymore, but am messing with thickbox right now.
https://mezzomondo.nelblog.it/2007/05/28/thickbox3/
allows the use of thickbox. So…
Iframed external pages: Add class=”thickbox” to the a tag of your link. In the href attibute, after the URL add the following parameters: ?KeepThis=true&TB_iframe=true&height=400&width=600
should allow you to do it.