Support » Plugins » Admin – Create Pages – Theme Buttons

  • Hi Guys,

    in my theme, the links for the pages are grafical buttons and not just text. When I create a new page, I have to create the buttons manually, which is annoying. For creating the buttons I have an image magick script and my goal is, that this script is called, when a pages is created. But I don’t know where to “hack” to make the admin-pannel calling my script, after i press the page creation button. I don’t even know where to search or what I should read to find a solution.
    So if you post any ideas or links, which can help me, would be great 🙂

    Best
    blueshark

Viewing 1 replies (of 1 total)
  • After going though a lot of code, I think modifying either the function wp_insert_post in wp-includes/post.php or wp_write_post in wp-admin/includes/post.php for generating an image button will do the job.

    However, I don’t want to touch these files, to keep the update mechanism simple. Is there another oportunity to overload one of the two functions without touchting the mentioned files?

Viewing 1 replies (of 1 total)
  • The topic ‘Admin – Create Pages – Theme Buttons’ is closed to new replies.