No entries message

By: Ricci Fothergill | Asked: 04/16/2025
ForumsCategory: General questionsNo entries message
Ricci Fothergill asked 1 month ago

Trying to pass values to a page from the "No entries message" field but not working; any ideas?

 

[100] = ABC

[101] = 123

 

Code:

<a href="www.test.com?test=[100]&test2=[101]">Test</a>

 

Result:

Redirects to www.test.com?test=[100]&test2=[101]

 

Desired:

Redirects to www.test.com?test=ABC&test2=123

 

The code works fine when used on the main body of the page, just not in the No Entries Message section

 

thanks!

1 Answers
Rob LeVineRob LeVine Staff answered 1 month ago

If there are no entries, then there's...no entry :). So the shortcodes have no meaning. You can't show field 100 from nothing. My guess is that that's not really what you want to do so I suggest rethinking your goal and/or explaining it fully here.

Ricci Fothergill replied 1 month ago

Previous reply doesn't seem to have posted, but you've answered my question! I was trying to pass 100 and 101 from a view of a form, which is why they didn't exist. I've changed to get param=x now and all working. Thank you!!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right