How can I insert a dynamic URL in my email template?

I have no experience with this plugin, but it looks like you can add extra template variables with a filter named ‘wpbe_tags’: function template_vars_replacement( $template ) { $to_replace = array( ‘blog_url’ => get_option(‘siteurl’), ‘home_url’ => get_option(‘home’), ‘blog_name’ => get_option(‘blogname’), ‘blog_description’ => get_option(‘blogdescription’), ‘admin_email’ => get_option(‘admin_email’), ‘date’ => date_i18n(get_option(‘date_format’)), ‘time’ => date_i18n(get_option(‘time_format’)) ); $to_replace = apply_filters(‘wpbe_tags’, … Read more

Replacing WordPress Icons (menu,icons32, etc)?

The CSS is in wp-admin/css/colors-classic.css and wp-admin/css/colors-fresh.css and the min versions of those, including the icons32-2x.png ones. I can see them when I grep the directory. For example, wp-admin/css/colors-classic.css:2162. The images themselves are in wp-admin/images, as you can see from the style rules, but you should not be hacking/replacing those. They will be overwritten when … Read more

Automatically Marquee Code scrolling with recent post title?

As I told you in chat, you just need the recent posts and can add any markup you need: // functions.php function recent_inaccessible_posts() { if ( ! $recent = wp_get_recent_posts(array(), OBJECT ) ) return; $out=”<marquee><ul>”; foreach ( $recent as $r ) $out .= ‘<li><a href=”‘ . get_permalink($r->ID) . ‘”>’ . get_the_title($r->ID) . ‘</a>’; print “$out</ul></marquee>”; … Read more

Add Schema Image Designation Inside a WordPress Function?

What you are trying to do works for me. That is, this works when I try it: the_post_thumbnail(‘post-thumbnail’,array(‘itemprop’=> ‘articleSection’)); I get the itemprop attribute is my <img tag. If that isn’t working for you I can only guess at why. Possibly there is a filter causing problems. For a more global solution, the following will … Read more

creating a static HTML/JS/PHP page

i need to create a static page that allows me to code HTML/JS/PHP… Create a custom page template and integrate your structure in it. .. that connects to a separate MYSQL backend. I don’t know why you want a separate MySQL backend. In your comment, you tell that you’re making a contact form. I guess … Read more

insert an html tag using php plugin

You shouldn’t edit the WP Core because it will break at the next update. I believe the easiest way is to use jQuery. Use a filter to add the jQuery code to the page. function cystom_jquery_code() { echo ‘<script> jQuery(“body”).after(“div class=”myClass”></div>”); jQuery(“#wpwrap”).before(“<div class=”beforeClass”></div>”); </script>’; } add_action(‘admin_head’, ‘cystom_jquery_code’);