dc_photo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comments grouped by custom IDHey nrodrigo, did you find out an answer on this?
Basically I want the same, say I have a page such as:
wordpress/mypage which is reached with a ‘GET’ such as:wordpress/mypage?var=5
wordpress/mypage?var=12
wordpress/mypage?var=16Depending on ‘var’, I want to be able to store and retrieve the relevant comments
Many thanks,
d.Forum: Hacks
In reply to: timeline navigation widget/pluginIf I’m not mistaken, you basically want a vertical timeline.
How about this?
https://www.ads-software.com/extend/plugins/wordpress-posts-timeline/
Forum: Hacks
In reply to: Settings for multiple instances of a widgetOk catacaustic, I checked the text widget like you said, and you’ve convinced me to do it that way! Thanks!
Forum: Hacks
In reply to: Settings for multiple instances of a widgetHi bcworkz,
Thanks for your reply!
The problem you describe – how to remove the settings if the user deletes the associated widget – is exactly the point at which I would prefer to have the settings in the front page, as part of the widget. I think that this would make the coding for sanitizing/saving/maintenance much easier as well…
Also, even though I agree with you that it seems illogical to have settings in the front-end , for this particular application the settings are irrelevant to wordpress functionality or content but rather have to do with the content the widget dispalys from another server. So saving the user to have to go back and forth in the admin panel might not be such a bad thing.
Anyway, if I decide to go with the front end solution, do you by any chance know of a hook that would recognize if the owner of the widget is logged-in? Mind you that this is a multisite installation, so I’d rather associate it with a particular user rather than with a role but anyway this is not a “must”, as every user of the widget will also be an administrator to his blog.
Thanks a lot for your help.
Forum: Plugins
In reply to: Display lists in accordionNevermind, I just made a post and edited it as HTML in a format that works with JQUERY
Forum: Fixing WordPress
In reply to: pass variable to a php fileI just transferred it to functions.php and it works like a charm, many thanks again!
Forum: Fixing WordPress
In reply to: pass variable to a php fileAh, ok. So you mean transfer the content of whatever.php into functions.php and then simply call it from say index.php whenever I need it? OK, I think I got it.
But still just to confirm, what I was trying to do is not possible, is it?
Many thanks for your help!
Forum: Fixing WordPress
In reply to: pass variable to a php fileBecause I need to generate for my page 30 similar html elements which vary depending on these variables … but does it really matter?