jmaurin
Forum Replies Created
-
Ok, but how it’s done if I need conditional add_action?
For exemplo action wp_head. I need to add an external CSS and JASCRIPT, but only for some pages, where my snippet is used, not all pages (unnecessary load of scripts). How to do this?Forum: Developing with WordPress
In reply to: Link inside plugin options/pageOk, I see that I was not very clear on my question ??
My admin menu is owrking fine. I’m using a callback function and creating a page for admin user. This page display a database table (using ‘datatable’ library). But inside this table, I need to create some links to edit this rows. These links are pages inside my plugin……but I’m pretty sure I can’t simple create an ordinary link to my plugin PHP file.
That I need to know is how to create and how to link an PHP page inside my plugin. I know that I can use
add_action('admin_menu', 'wporg_options_page');
to create a menu item, and this item will use my callback function to render html (generated by this callback function).
But imagine that my menu item generates a page using functionY. This function render an html and inside this HTML I need to create another link that shows me a second page (inside my plugin). This second page is probabily rendered by another function, right? but how is the right way to create and render this second page?Solved! Mod_security rules.
Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Sub-album?Yes, sometimes does. Actually, I think it’s an apache_itk error…..because I can change one time and next, got error (always). After apache restart, I can change one more time only, and so on…..
Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Sub-album?I’ve created 3 albums, called “Teste Root”, “Teste level 1” and “Teste final”.
In “Manage Albums”, I’ve selected “Teste Root” and tried to drag/drop “Teste level 1” to first column (Album ID 3: Teste Root). Then, click on “Update” and got this error: ERR_EMPTY_RESPONSE and blank page.