Assign a picture URL to a page via PHP

You can use the add_post_meta function: add_post_meta( get_the_ID(), ‘my_custom_image_url’, ‘http://domain.com/image.jpg’, true ); The code above assumes that a) you will have only one image per page; and b) you are in a loop so get_the_ID will return a valid ID of the page you want to attach the meta-data to. Documentation here.

Speed of the slider images should be increased in wordpress

Note: This is only a quick fix and not a permanent solution (i.e. a theme update might reset these changes). The enlightment theme uses a slider called “flexslider”. To alter the speed you can go into the flexslider javascript-file and change the slideshowSpeed parameter. In your theme folder, navigate to the file “jquery.flexslider.js”. It is … Read more