Forums

Any idea where to add this function please (2 posts)

  1. bambinou
    Member
    Posted 3 months ago #

    Hello,

    I am referencing a wordpress codex page:

    http://codex.wordpress.org/Function_Reference/add_query_arg

    I do not understand where this function below should be added, on the custom page itself on in the wp_included/function.php, if it should go in the latest one, where exactly as I am totally lost.

    Here it is
    // This would output 'http://blog.example.com/2009/04/16/?hello=world'
    echo add_query_arg( 'hello', 'world', 'http://blog.example.com/2009/04/16/' );

    Thanks!

    Ben

  2. hair-but
    Member
    Posted 3 months ago #

    what are you trying to do explain more..

Reply

You must log in to post.

About this Topic

Tags