Jens Wedin
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomiesHi
I tried the:
if ( is_meta() ) { include_once TEMPLATEPATH . '/_meta.php'; die; }
with no luck. Just to try something else I activated another theme and now both GDSR and CFT works fine. I use a really customized theme which must be the cause of this. I will go back and see if I can figure out what the problem is.
Thanks for all your support.
/Jens
Forum: Plugins
In reply to: [Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomies@scribu: My post got moderated so I put the post on patebin instead.
https://pastebin.com/f156633d2
As I am trying to find out what the problem is I also wrote the same thing on GDSR forum, which is here, he answered that he see no problem with his plugin.
Forum: Plugins
In reply to: [Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomiesHi
I tried to produce some errors. This what I’ve done
I the wp-config.php I set define(‘WP_DEBUG’, true);
In the GDSR settings I turned on
Log into file various debug information.
Save into debug file each WP Query executed.
On every page PHP output this
—–
[huge chunk of code moderated – please use a pastebin or link to file]
Forum: Plugins
In reply to: [Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomiesThis is the answer I got from the GDSR plugin author
—-
I tried CFT, and I couldn’t notice any problems while GDSR is active. And meta.php is a standard template like in any theme with only two functions calls added to display meta taxonomies. Also CFT has MANY warnings and minor things that need to be fixed. I always develop with WP_DEBUG active, but CFT raises too many warnings, and I had to disable debug.
I don’t have the time to test each plugin in depth. And if something like this is not working for you, you NEED to provide the errors that are thrown. And since you get black page as result, there must be an error behind that. Once you provide me with that error I will be able to see what the problem really is. Either run website with debug active to catch it, or find the error in php log files. If you can’t provide it, I will close this issue in the next few days.
—I will try to see if I can get an visible error for this.
Forum: Plugins
In reply to: [Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomiesI’m sorry. Magic fields is not the problem, it seem to be the GD Star Rating plugin that there is a problem. I will also ask the author of that plugin what can be the problem.
Forum: Fixing WordPress
In reply to: Delete duplicated custom fields@shane G: Thanks, that did the trick!
Forum: Plugins
In reply to: Linking the Name and Avatar in the Userlist with Aleph pluginSorry, the code got eaten by a monster, new take.
<a href="/link-to-the-user-page"><img scr="the-avatar.jpg">Nike Black</a>
Forum: Fixing WordPress
In reply to: Author page only visible if user has published a postHi again, sorry for bumping. Anyone?
Forum: Fixing WordPress
In reply to: wp doesn’t send user registration mail after registeredHave you checked that your host allow using mail function?
Forum: Fixing WordPress
In reply to: Trim the heading (h1)I tried it out and after some fiddling I got it to work. I made a function like you said but made some minor changes. Here is changed function. Thanks for your help!
function truncate_title() { //get the post title $title = get_the_title(); // set limit at 24 to get 25 characters, since substr starts at "0", not "1" $limit = "27"; $pad="…"; // if the title is shorter than the $limit, do nothing if(strlen($title) <= $limit) { echo $title; } else { $title = substr($title, 0, $limit) . $pad; echo $title; } }
Forum: Fixing WordPress
In reply to: Link to a category within admin area@moshu: You are absolutely correct and that is how I have it. Sorry for writing so crappy. ??
@doodlebee: Firsly I just want to make it easier for my users. Secondly I want to restrict the users to only see some categories. Thanks for the link. I’ll also check out some of the plugins on that page.
Forum: Fixing WordPress
In reply to: Link to a category within admin area@doodlebee: I have a community site where people can register and write content. The users are not “geeks” so I want to make it easier for them. It important that they add the correct category before publishing. I know I can instruct them to do this the correct way but as most people I don’t think they will read my “guidelines”.
Here’s the site that I talk about >> https://www.chwisgi.com
Forum: Fixing WordPress
In reply to: Link to a category within admin areaOk, thanks anyway.
Forum: Fixing WordPress
In reply to: Trim the heading (h1)Thanks for the quick reply. I′ll have a check on it and see if it works. Thanks again ??
Forum: Fixing WordPress
In reply to: Link to a category within admin areaThanks for quick reply but…I have many categories and want to link to each category from other parts of the site.
https://xxxxxxx.com/wp-admin/post.php?category=wine
https://xxxxxxx.com/wp-admin/post.php?category=beer
https://xxxxxxx.com/wp-admin/post.php?category=grapa