xwoman2 xwoman2 - 1 month ago 5
PHP Question

Change links in wordpress template without creating a table in database

I have a wordpress template which have some static content.
in fact the index page has a page template and its all static and have no control from wordpress.but using header and footer.
I want to change static links in this page using admin panel.
How to change this static links from wordpress panel without using a database to store this links?
thank you

Answer

You need to edit theme's files. Use Wordpress editor for this.

UPDATE

Install the plugin for managing options. For example, WP Options Editor

In your template replace the code that should be customizable with the

get_option('your_option_name');
Comments