WebTechGlobal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 5th level categories missing from edit in adminThis issue still exists in 2.8.6! I’m finding it a nightmare. My script echos all information about newly created sub categories but when refreshing the categories admin page they do not show.
It’s very random which leads me to believe its an issue with taxonomy ID’s. Some sub cats show, some don’t.
What would make the admin only show certain subcategories on level 2 ?
I reckon its a missalightment with ID’s and so on. Not a WP pro I’m just trying to put it into terms from the way it looks when I’m debugging. Sometimes its like a sub category is created but shows much later also.
Forum: Fixing WordPress
In reply to: Child Category missing from admin List, but it’s thereI’m getting this problem now in 2.8.6!
I know sub cats are created because I print the ID returned straight afterwards for debugging. But the ID does not belong to any existing categories. It then causes my plugin to attempt to keep creating the category.
My plugin uses the category name to find a match, no match then it creates a new category. Don’t know if that helps.
Ryan Bayne
WebTechGlobal.co.ukForum: Fixing WordPress
In reply to: get_categories Problem – Does Not Return ChildrenIt returns the ID of the category just created otherwise it returns false 😉 defo, because I use it to populate $catid.
With all that, I now have my fix…
$arg= array();
$arg[‘child_of’] = $catid;
$arg[‘hide_empty’] = false;
$subcategories = get_categories( $arg );It seems to work just fine, still thanks too you for pushing me to debug in a way I never even considered. I’d love to know why the old method I was using suddenly stopped working!
Thanks ESMI been great,email me if you ever need a csv/affiliate datafeed import plugin, the best one ever! lol
Ryan
Forum: Fixing WordPress
In reply to: get_categories Problem – Does Not Return Children$catid = wp_insert_category when the parent category requires creation but that does not matter because it has no children yet.
I use $catid = get_cat_ID( $categoryname1 ); for when the parent is found to already exist. So either way $catid is populared and as far as I’m aware both only populate the variable with an integer not an array or anyting.
What do you think? Just going to read about arrays see if there is something I have missed about the value you pass to them.
Thanks again
RyanForum: Fixing WordPress
In reply to: get_categories Problem – Does Not Return ChildrenLooks like you wrote this about same time as my comment. $catid is defo printing, had it echoing the ID for that last 10 hours and ensuring the important values are passed.
I’ve been on PHP for almost 2 years, WordPress for almost 1 year now. I don’t get this at all!
Ryan
Forum: Fixing WordPress
In reply to: get_categories Problem – Does Not Return ChildrenI’m going to guess you know why this is and all I can think is its something to do with arrays that I’ve just not come across.
However just to be clear, I’m echoing $catid right before this function and it does display the id.
The other thing that would never have had me trying that above is the fact this used to work previously, no idea when it stopped working because I don’t use the plugin all the time only customers do.
You wouldnt be interested in CSV 2 POST now would you, with a big discount ofcourse, email [email moderated]
Thanks
RyanForum: Fixing WordPress
In reply to: get_categories Problem – Does Not Return ChildrenWat the hell! It works with the cat id replacing the variable.
But the variable is populated before hand so whats the issue there? I can’t believe it, I’ve tried everything today.
We need to talk lol
I was going to reply to you “Thats like asking if the variable is populared before hand and it is” but I thought I’d entertain you and see what happens. Glad I kept my mouth shut, been a long 16 actually thats 17 hours.
Thanks
RyanForum: Fixing WordPress
In reply to: Tags, Categories, Links lost in 2.8.4Dam this problem is annoying!
I’ve watched categories being automatically created with my script for weeks just fine, suddenly it messes up. Not only does it not return child of parents but for some reason categories disappear and posts reorganised.
I believe the problem is not the syntax so to speak, its the data! Taxonomy may be wrong so badly that its being overwritten by newer categories and posts which causes older ones to shift. I’m finding posts changing categories.
As I said I’ve changed nothing in this area of my script and its a big script. Working on it for last 16 hours now trying to solve this, seriously long day and feeding my 2 month year old lol
We’ll get there even if I need to pay lol
Ryan
Forum: Fixing WordPress
In reply to: [Theme Epsilon] 2.8 upgrade messed up CategoriesThere are still bugs in get_categories as far as I’m concerned. It was working fine for me then all my customers upgraded to 2.8.4,5 or 6 and now it doesnt work.
My usage is to retrieve children of a parent and despite the fact that the fed ID of the parent has children, nothing is return by this function. Even in the most basic use it is no longer working for me and thats after 16 hours trying to fix it…and counting! lol
Ryan
Forum: Themes and Templates
In reply to: Using get_categories Shows Multiple Of The Same CategorySo are you now finding $categories = get_categories($args);
works ok for you? I’m not, it does not return child cats that it should when passed an ID for the parent.Just wondered if this function is totally messed up as theres a lot of recent talk about it since 2.8 release.
Forum: Everything else WordPress
In reply to: Is it possible to embed a plugin in a theme?Yes thats possible I think, just need to put the trigger in the theme or something. Never done it but I think themes like ShopperPress work on that basis, they also add an admin menu that would seem like a plugin but is not.
This is something I plan to do myself, if I do it I’ll try to stop by here with directions to instructions.
Ryan
WebTechglobal.co.ukForum: Requests and Feedback
In reply to: i want a theme helpYe thats a good theme, might have cost them to have it done. You should buy one from a site like Theme Forest if your looking for one better than the freebies.
Forum: Installing WordPress
In reply to: cant find “door” to start login to wp admin panel!!You may need to pay extra for WordPress hosting with them, have a client on GoDaddy.
[signature moderated Please read the Forum Rules]
Forum: Plugins
In reply to: how do I add a forum to my siteIf you want a serious forum and have big ambition go with a normal forum not a forum plugin for WordPress, thats my opinion. If you don’t need something that you aim to grow into a busy community, you might want to go with extending wordpress because it will probably far more simple.
All depends on you and your needs as per usual.
Forum: Plugins
In reply to: how do I add a forum to my siteThe first and easiest place to start is your hosting my friend!
Usually hosting will provide a quick installation option for all the best and free software including WordPress. Simple type in your directory, click install and your almost done. Just the usual configuration to do from there.
Normally you will find phpBB forums lets say like http://forum.webtechglobal.co.uk which was installed the way described alongside my wordpress blog.
Failing this approach you will be looking to download the files for a forum from the providers website, upload using ftp to your site file directory and then access the index page in the browser to begin the install.
Hope that helps to get you started and ask more questions that will get you there soon I’m sure 🙂
Regards
[signature moderated Please read the Forum Rules]