andrewbird
Forum Replies Created
-
Forum: Hacks
In reply to: Inserting text into form fields.For anyone else reading, the above is not the way to insert script blocks into your WP. Thanks for the help though.
Forum: Hacks
In reply to: Inserting text into form fields.which page template, I want to do this via a plugin, so I need a function in the plugin to do this. I’m suprised more people are not trying to do things like this to be honest.
Forum: Hacks
In reply to: Inserting text into form fields.Sorry to bring this up, but I have not yet solved this. Anyone any ideas, or alternative methods.
Many thanks,
Andrew.Forum: Hacks
In reply to: Inserting text into form fields.No. I have a text feild in a custom metabox, and a button in that box. Together they submit via action = “” a text string to a php function which reads some xml. I wish to complete some form fields based on the results of the function.
So say my function returns $var1 and $var2, I need to put those variable strings into, lets say, a custom taxonomy field. So i was looking for the hook that is called when those input fields are printed…. is that the correct of incorrect way to deal with this problem.Many thanks.
AndrewForum: Plugins
In reply to: Filter form elements in Post Edit page.So perhaps this will help.
<form action="" method="post"/> <input type="text" name="nameDOI" id="idDOI" /> <input type="text" name="nameDOI2" id="idDOI" value="<?php echo $_POST['nameDOI']; ?>" /> <input type="submit" name="requestDOI" value="submit"/> </form>
This shows the problem in a simple form. So instead of ‘$_POST[‘nameDOI’]’ i’d be using ‘$function_output’. But I need that to go into WPs form fields which are there for the entry of custom meta info?
Any ideas?
Forum: Plugins
In reply to: Way to add content below the admin menusI can’t find
<div id="adminmenu"></div>
in the source on my admin backend. Where are you refering too exactly?Forum: Networking WordPress
In reply to: New project to act as site. Custom Taxonomy at the site level?Well, indeed – I need some site level metadata – “similar to can this site be searched by search engines”… or what ever that tag is. And I need to make subtle changes to how “site” content is passed if it is a project. I don’t mind doing this if nothing similar exists… but I’m not the best to do it ( I write bad code).
Forum: Networking WordPress
In reply to: New project to act as site. Custom Taxonomy at the site level?I have checked that out. Can you tell me how the projects with that plugin “act as sites”… I don’t think they do. It is a ready made project management plugin, which I can’t seem to bend to do what I want.
I just need to distinguish between sites and projects… but at their core I want them to be exactly the same thing at the same level!