Skip to main content

Questions tagged [parameter]

The tag has no usage guidance.

0 votes
0 answers
18 views

How to Prevent ?keyword Parameter from Being Indexed and Stop Its Generation in WordPress?

I need help with the following:- 1-Prevent ?keyword parameter from being indexed in search engines (Google Search Console). 2-Stop ?keyword parameter from being generated in WordPress.
Himanshu Mishra's user avatar
0 votes
1 answer
49 views

WordPress REST API custom endpoint not allowing multiple parameters

I've made a custom endpoint for my REST API: add_action( 'rest_api_init', function () { register_rest_route( 'foo/v1', '/bar/', array( 'methods' => 'GET', 'callback' => 'foo_callback', ) ...
BrassMonkey's user avatar
0 votes
1 answer
12 views

Conditional Content Linked to Cookie Value Only Shows on 2nd Page Load

I have the following 2 functions in functions.php // Function to set the plan cookie function set_plan_cookie() { if (isset($_GET['plan'])) { $plan_value = sanitize_text_field($_GET['plan']...
Discover's user avatar
0 votes
2 answers
87 views

Is it possible to create a custom post type with blank page for Post List and Add Post Page only?

I would like to completely reorganize, stylize a custom post type. By default register_post_type() function add Title, editor, category and tags into add custom post from $supports argument. Can I ...
imagIne's user avatar
  • 83
0 votes
0 answers
20 views

Capture query param and insert into to form field

We use WordPress for our landing pages. We have a query param ?utm_source=some_string that we'd like to capture (or pass along as user navigates site) and then eventually append to URL when user ...
Meltemi's user avatar
  • 101
0 votes
0 answers
81 views

Embed dynamic php snippets with parameters in a blogpost

I have a setup where I embed some entities in my blogposts (products essentially) and then I have written a script and added to functions.php where I can all an API to get some metadata about each ...
ask's user avatar
  • 1
1 vote
1 answer
296 views

How to handle Ajax Calls, when using same shortcodes (with different parameters, e.g. 'post-type')?

this is my very first question here. So please don't be too angry, if I miss something out or make mistakes while using the plattform. I was, of course, trying to find an answer on my problem first. ...
Diddi_83's user avatar
0 votes
1 answer
244 views

Registration fields prefilled with URL parameters

I’d like to invite some users via email to register and would like to prefill the user registration fields, such as A.) username and B.) email. Unfortunately it is not working and my JS skills suck... ...
VolkerHarz's user avatar
0 votes
0 answers
383 views

Adding query parameter to archive page returns 404

I've created a new post type called Creations. On the creations archive https://example.com/creations I am showing a grid of creation posts. If I add query parameter to the URL I get a 404, why is ...
odedta's user avatar
  • 86
0 votes
1 answer
171 views

How to pass username in affiliate link in wordpress website

I need to pass current logged in user in wordpress website as SUBID in the affiliate link as follows. Affiliate link format is like below. https://affiliatenetwork.com/track?id=myuserid&url=https:/...
Nitin S's user avatar
0 votes
1 answer
125 views

Warning at top of website & top menu gone

This warning has appeared at the top of our website, and our top menu bar has disappeared: Warning: call_user_func_array) expects parameter! +~ be a valid callback, function '...
user221064's user avatar
0 votes
1 answer
402 views

Passing values through url for checkbox fields with same name to get?

Look to this images For example chose "Ajna" then select "Residential and Hotel Apartment" after click Search Properties => I need to show items that have these categories <...
Marco Talaat's user avatar
0 votes
2 answers
701 views

How to get a page url segment on wordpress?

I've created a regular wordpress page named "user" which is using a custom template. This page is supposed to be called like so: www.site.com/user/<ID> Is it possible to get the ID ...
Ricardo Miguel's user avatar
1 vote
1 answer
333 views

Create URL with parameter for JQuery toggle status

Inherited a theme and cannot contact the original developer. In the site, there are toggles so that users can switch between English and Spanish versions of the content. The toggle JS is included in a ...
lushiris02's user avatar
0 votes
0 answers
482 views

Different url to same page (with dynamic content)

I have a custom php script that in a specific page of my wordpress website is generating a dynamic content (ie. page "mysite.com/citydetail" that will load a list of places specific for that ...
martin's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
11