Problem protecting a page with a password

Here are the logical steps to find out the cause of the problem. Remove the password and load the page, is it showing the page content? If not, the problem is within your page template. Be sure you use the WordPress post loop correctly The the answer of your first question is yes, then we … Read more

wp_verify_nonce() why return false?

Revised code if(is_admin()) { add_action(‘admin_menu’, ‘awesome_page_create’); function awesome_page_create() { $page_title=”My Awesome Admin Page”; $menu_title=”Awesome Admin Page”; $capability = ‘edit_posts’; $menu_slug = ‘awesome_page’; $function = ‘my_awesome_page_display’; $icon_url=””; $position = 24; add_menu_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position); } function my_awesome_page_display() { if (!current_user_can(‘manage_options’)) { wp_die(‘Unauthorized user’); } $value = get_option(‘awesome_text’, ”); ?> <h1>My Awesome Settings Page</h1> … Read more

Use functionality of 2 wordpress plugins

Levi Dulstein has a lot of righ, but in my opinion Front-end-pm uses two hooks to send messages: fep_save_message (from back-end) fep_action_message_after_send (from front-end) Before sending a email few things are checked, like publishig or sending status (includes/class-fep-emails.php): function save_send_email( $postid, $post ) { if ( ! $post instanceof WP_Post ) { $post = get_post( … Read more

How to link to YouTube videos with thumbnails?

Here is a list of some popular video grid plugins you can use without custom coding. You can create a grid of YouTube thumbnails that link to those videos. Gallery by Robo – Responsive Photo Image Gallery YouTube Gallery – Best YouTube Video Gallery for WordPress YourChannel: YouTube channel on your website Good luck!

Trying to add admin file upload form plugin

Turns out the code is correct, the problem is the tutorial site I copy/pasted from was using weird, non standard space characters instead of normal spaces. I replaced the “fake spaces” with “normal spaces” and now everything works. In order to debug this I needed to look at the Apache error log rather than the … Read more