简体   繁体   中英

wordpress- dynamically change webpage banner text by passing parameter in url

I am trying to change banner text of one of the web page according to the url parameter. Not sure which code should I modify. or use hook? please someone help me. many thanks

You need to find out where that text is coming from.

Most WordPress templates that I have used allow you to change this on the admin screen (dashboard). If you log into WordPress using admin password and select Theme/Customize, you should be presented with several options that let you customize this.

There is also a Settings tab visible from the dashboard that lets you change the site name (if that is what's being displayed there).

If you cant find it in either of those, you can try to search for the text in the files system (under themes) and see what's returned.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM