Reputation: 1744
I am making a plugin for custom wordpress admin panel theme, I have changed most of the things as per my requirement using hooks but I am unable to change Page Heading in Admin Panel in wordpress.
Upvotes: 0
Views: 1091
Reputation: 181
Like i said, creating a Wordpres Theme Admin Panel it's not so easy, but they are a lot of tutorials on internet. After a few days of searching i finally created the theme admin panel.
I will share this:
http://5wpthemes.com/blog/how-to-create-a-wordpress-theme-admin-panel/
Upvotes: 0
Reputation: 1744
I am trying this, this is working fine for me, anyone having better solution
add_filter( 'gettext', 'change_post_to_article1' );
add_filter( 'ngettext', 'change_post_to_article1' );
function change_post_to_article1( $translated )
{
$translated = str_replace( 'Users', 'Customers', $translated );
$translated = str_replace( 'Add New User', 'Add New Customer', $translated );
return $translated;
}
Upvotes: 1
Reputation: 181
I'm not sure how is your Admin Panel, but you can try this
array( "name" => "Heading",
"desc" => "Select heading style",
"id" => $shortname."_style",
"type" => "select",
"options" => array("heading.css", "heading2.css"),
"std" => ""),
Where heading.css is your setting file. In this case you have a special css file ore more, where you can setup your heading.
Tell me if is ok!
Upvotes: 0