• Hi!

    I want to add the query arg ?facebook=true to all internal urls of my blog.

    I think that I’ve to use add_filter or add_action in the functions.php and a function that uses add_query_arg().

    The problem is that i’ve no idea on what to apply add_query_arg.

    I managed to generate single links in the way I need the links with add_query_arg( ‘facebook’, ‘true’ , get_page_link() );
    But I need to manipulate all links generated by wordpress.

    Best regards Peter

    [duplicate: https://www.ads-software.com/support/topic/add-query_string-to-all-internal-links?replies=1 – please continue with the original topic and add new information there – closed]

  • The topic ‘HOW TO: add_query_arg to all urls?’ is closed to new replies.