Which banner plugin is this? [closed]

That would be revslider http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380 Warning, last year there was some information about it having a vulnerability on wordpress websites. The 2 websites I had it pre installed on via themes have also broken due to a update in rev slider requiring me to go in and amend the rev slider code to disable it. … Read more

Undefined variable in functions.php file [closed]

You have made a mistake in the function wpb_related_pages. Your code should look as below: Updated Code with change needed: // related pages function wpb_related_pages() { # Global $post variable should be called at the start of the function. global $post; $orig_post = $post; $tags = wp_get_post_tags($post->ID); Hope this helps!

How to define and link full path to css located at a random folder on header.php

You should look into wp_enqueue_script() and wp_enque_style(), they’ll handle the assembly and placement of the script/style tag, and the dependancy order – inside of your header (via wp_head()) or footer if you like to load your assets at the bottom of your page. So, for your example, something like add_action( “wp_enqueue_scripts”, function(){ wp_enqueue_style( ‘mythemelightbox’, get_template_directory_uri().’/lightbox2-master/lightbox2-master/src/css/lightbox.css’, … Read more

WordPress HTTP parameter pollution

This really wouldn’t have anything to do with WordPress intrinsically. It would be related to some plugin or code that passes values based on post data or anything that can request back-end HTTP to another application. The problem is you are open for XSS and SQL injection. Do you have user input fields i.e. POST … Read more

How to include landing page with form submission?

Setting a cookie might be the best option. In case the visitor had js disabled, I figured it best to set the cookie in the http header using php. However, it seems that init is the last possible action WordPress will allow a cookie-setting function to hook into, but it fires too early for conditional … Read more

convert it into short code & explan how? [closed]

A function can be created that generates the output, then that function can be tied to a shortcode using the Shortcode API: /** * Returns –> Contact | Terms of Service | Privacy Policy | Careers * * @parm array $atts * @return string */ function wpse241695_arrow_contact_terms_of_service_privacy_policy_careers( $atts ) { return ‘–> Contact  |  Terms … Read more