<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress | Chris Walton</title>
	<atom:link href="https://www.chriswalton.co.uk/category/web-development/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.chriswalton.co.uk</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 13 Mar 2017 16:52:27 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.2</generator>
	<item>
		<title>Fancy a Custom WordPress Login Page? Heres How</title>
		<link>https://www.chriswalton.co.uk/fancy-a-custom-wordpress-login-page-heres-how/</link>
					<comments>https://www.chriswalton.co.uk/fancy-a-custom-wordpress-login-page-heres-how/#respond</comments>
		
		<dc:creator><![CDATA[chris]]></dc:creator>
		<pubDate>Mon, 13 Mar 2017 16:51:09 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://www.chriswalton.co.uk/?p=538</guid>

					<description><![CDATA[<p>Custom login pages can give website owners the opportunity to make brand their website for employees especially for larger multi-user sites like news outlets.</p>
<p>Sure you can install a module like the <a href="https://en-gb.wordpress.org/plugins/login-customizer/" target="_blank">Custom Login Page Customizer</a> but if you have a little CSS know-how why not do it yourself?</p>
<p>The post <a href="https://www.chriswalton.co.uk/fancy-a-custom-wordpress-login-page-heres-how/">Fancy a Custom WordPress Login Page? Heres How</a> first appeared on <a href="https://www.chriswalton.co.uk">Chris Walton</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Custom login pages can give website owners the opportunity to make brand their website for employees especially for larger multi-user sites like news outlets.</p>
<p>Sure you can install a module like the <a href="https://en-gb.wordpress.org/plugins/login-customizer/" target="_blank">Custom Login Page Customizer</a> but if you have a little CSS know-how why not do it yourself?</p>
<p>This is how I have been doing it, first open your <strong>functions.php</strong> file and add the following lines of code;</p>
<pre>function custom_login_css() {
wp_enqueue_style( 'theme_login_css', get_template_directory_uri() . '/css/login.css', false );
}</pre>
<p>This simply calls a custom CSS file to the login page allowing you to style it.</p>
<p>Next we need to add a pair of functions which will update the logo URL and alt text to use your sites URL and Name.</p>
<pre>function custom_login_url() { return home_url(); }
function custom_login_title() { return get_option('blogname'); }</pre>
<p>Finally set a call so they are only loaded on the login page.</p>
<pre>add_action( 'login_enqueue_scripts', 'theme_login_css', 10 );
add_filter('login_headerurl', 'theme_login_url');
add_filter('login_headertitle', 'theme_login_title');
</pre>
<p>Now all you need to do is create your custom <strong>login.css</strong> file and drop it into the location you set in step one, I will leave this bit up to you.</p><p>The post <a href="https://www.chriswalton.co.uk/fancy-a-custom-wordpress-login-page-heres-how/">Fancy a Custom WordPress Login Page? Heres How</a> first appeared on <a href="https://www.chriswalton.co.uk">Chris Walton</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.chriswalton.co.uk/fancy-a-custom-wordpress-login-page-heres-how/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Adding Featured Image Support to a WordPress Page</title>
		<link>https://www.chriswalton.co.uk/adding-featured-image-support-to-a-wordpress-page/</link>
					<comments>https://www.chriswalton.co.uk/adding-featured-image-support-to-a-wordpress-page/#respond</comments>
		
		<dc:creator><![CDATA[chris]]></dc:creator>
		<pubDate>Fri, 10 Mar 2017 16:53:56 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.chriswalton.co.uk/?p=537</guid>

					<description><![CDATA[<p>Ever wanted to be able to add a Featured Image to not just your WordPress posts but you're pages? You can easily extend your theme by adding a single line to your functions.php file.</p>
<p>The post <a href="https://www.chriswalton.co.uk/adding-featured-image-support-to-a-wordpress-page/">Adding Featured Image Support to a WordPress Page</a> first appeared on <a href="https://www.chriswalton.co.uk">Chris Walton</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Ever wanted to be able to add a Featured Image to not just your WordPress posts but you&#8217;re pages? You can easily extend your theme by adding a single line to your functions.php file.</p>
<pre>add_theme_support( 'post-thumbnails' );</pre>
<p>Violla you can now upload Featured Images to your pages through the CMS. You will obviously need to then extend your themes page templates to call in the images. This can differ slightly from theme to theme so my advice is to checkout how it is applied within files such as index.php and single.php being a good place to start, you will be looking for the code which looks something like this;</p>
<pre>&lt;?php the_post_thumbnail('post-image'); ?&gt;</pre>
<p>Remember if you are using a theme sourced off of the <a href="https://wordpress.org/themes/" target="_blank">WordPress Theme Directory</a> you will need to remember that any updates from WordPress may remove any additions you make. For more information on this feature why not check out the WordPress Codex page on <a href="https://codex.wordpress.org/Post_Thumbnails" target="_blank">Post Thumbnails</a>.</p><p>The post <a href="https://www.chriswalton.co.uk/adding-featured-image-support-to-a-wordpress-page/">Adding Featured Image Support to a WordPress Page</a> first appeared on <a href="https://www.chriswalton.co.uk">Chris Walton</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.chriswalton.co.uk/adding-featured-image-support-to-a-wordpress-page/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
