Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter andrewbird

    (@andrewbird)

    For anyone else reading, the above is not the way to insert script blocks into your WP. Thanks for the help though.

    Thread Starter andrewbird

    (@andrewbird)

    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.

    Thread Starter andrewbird

    (@andrewbird)

    Sorry to bring this up, but I have not yet solved this. Anyone any ideas, or alternative methods.

    Many thanks,
    Andrew.

    Thread Starter andrewbird

    (@andrewbird)

    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.
    Andrew

    Thread Starter andrewbird

    (@andrewbird)

    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?

    andrewbird

    (@andrewbird)

    I can’t find <div id="adminmenu"></div> in the source on my admin backend. Where are you refering too exactly?

    Thread Starter andrewbird

    (@andrewbird)

    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).

    Thread Starter andrewbird

    (@andrewbird)

    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!

Viewing 8 replies - 1 through 8 (of 8 total)