ollybenson
Forum Replies Created
-
Forum: Reviews
In reply to: [OB Page Numbers] Too hard for non-code-savvy peopleHi,
This is a bit unfair.
There is no hook to override the previous and next posts, so in order to implement the plugin it requires some changing of the code. Hooks are part of WordPress’s core functionality, and therefore I can’t be held responsible for a lack of a particular hook in WordPress!
Similarly, I can’t be held responsible for theme designers decisions as to whether to put in particular functions in their pages. I’m not sure why that is my fault?
Finally – I’m not sure what you’d like me to update?
Olly
There is a small bug with this plugin for version 3.1+
It is designed to handle different versions when it builds the query. However, it does not handle the different versions when collecting the IDs to build the query.
If you are using the latest version of WordPress (v3.1 +) you should change line 78 where it says:
$exs[] = $value->cat_id;
to
$exs[] = $value->term_taxonomy_id;Then it should work.
Olly
Forum: Fixing WordPress
In reply to: URL forwardingReally depends on how your domain forwarding is set up.
Some domain forwarders will send all traffic to a single URL. Eg https://devierdemacht.be, https://devierdemacht.be/home.php and https://devierdemacht.be/uncategorized/hello-world/ will all go to a single webpage.
However you can also do domain forwarding that sends to the new URL + everything else in the URL. In the cases about those links would go to https://d-eye.be/devierdemacht/, https://d-eye.be/devierdemacht/home.php and https://d-eye.be/devierdemacht/uncategorized/hello-world/
The latter domain forwarding approach would allow you to have a structure as you wish. If you change the settings in WordPress you’ll get the links to be the devierdemacht.be URL.
That said, it’s pretty inefficient to do this as you are constantly going between two URLs and you’ll also have issues with SEO. So I’d not bother.
Olly
Forum: Plugins
In reply to: [admin-only-categories] [Plugin: admin-only-categories] doesn't workCouldn’t get it to work with me, but I made a couple of hacks and it seems to work. I’m working on WordPress 3.01 here.
Main one was changing how it got capabilities on about line 55…
GLOBAL $current_user;
$capabilities = $current_user->caps;
Instead of the existing definition of capabilities.
The other thing I discovered was that around line 118 it says
can_access
when it should becant_access
.I’ve also made it not allow you to exclude child categories and hide child categories in the secured list as the way WordPress displays categories it shows child categories directly beneath their parents.
I can send you the code if you want to have a look at it. It’s a really useful plugin for what I want, so happy to share.
Olly