custom field – Post object GUID adding http:/ – WordPress Development Stack Exchange

Question

In my template I have href="'.$package_link->guid.'"

The resulting HTML is: href="http:/package/download-2023-friday-arrival-monday-departure-weekend-coach-festival-ticket/"

Why is the http:/ being added? I am using Advanced Custom Fields with the field setup as below. Any suggestions?

enter image description here

0
pee2pee 2 months 2022-12-01T07:46:15-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse