Tagged Questions
4
votes
1answer
454 views
Settings API - creating reusable form elements?
I have a set of settings fields:
(...)
add_settings_field( 'Option1', 'Option 1', 'textarea', 'page1', 'plugin_options');
add_settings_field( 'Option2', 'Option 2', 'textarea', 'page1', ...
1
vote
1answer
145 views
Get page ID of page that is set as the posts page
In WordPress settings you can set a page as the Posts Page. This can be found:
WP-Admin->Settings->Reading Settings->Front page displays
How do I retrieve the page ID that is set in this ...