<?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>Tutorials Archives - Michael Soriano</title>
	<atom:link href="https://michaelsoriano.com/tag/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>https://michaelsoriano.com/tag/tutorials/</link>
	<description>I turn code into captivating user experiences for the web</description>
	<lastBuildDate>Sat, 06 Nov 2010 20:22:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>Yet Another jQuery Accordion Tutorial</title>
		<link>https://michaelsoriano.com/yet-another-jquery-accordion-tutorial/</link>
					<comments>https://michaelsoriano.com/yet-another-jquery-accordion-tutorial/#comments</comments>
		
		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Sat, 06 Nov 2010 20:22:15 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=1905</guid>

					<description><![CDATA[<p>It just about that time some good old fashioned web programming. Today we’re learning how to create an accordion style page – using my most favorite of tools: jQuery and CSS. We will try to accomplish an accordion that is so simple, yet useful enough for you to use in your existing pages. Ready to [&#8230;]</p>
<p>The post <a href="https://michaelsoriano.com/yet-another-jquery-accordion-tutorial/">Yet Another jQuery Accordion Tutorial</a> appeared first on <a href="https://michaelsoriano.com">Michael Soriano</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It just about that time some good old fashioned web programming. Today we’re learning how to create an accordion style page – using my most favorite of tools: jQuery and CSS. We will try to accomplish an accordion that is so simple, yet useful enough for you to use in your existing pages. Ready to get started – let’s begin.</p>
<h3>The Goal:</h3>
<p>We will use clean markup. We’re trying to integrate this into exsting HTML – so we will be generating all extra classes and tags using Javascript.  I imagine most web documents follow the same constant pattern: Heading tags, followed by some content which are a mixture of different DIVS, paragraphs, images etc. This goes on until the next heading tag &#8211; which is usually the same type as the first heading.<br />
Look at the sample mark up below:<br />
<script src="https://gist.github.com/michaelsoriano/b0f9d265439f8ce8334f.js"></script><br />
We will use the H5 tags as our “<strong>Clicker</strong>” – once clicked, will hide the contents right underneath it. Click it again, and it will show the contents again.</p>
<h3>The Script:</h3>
<p>We start by calling the jQuery library, followed by the document.ready() call:<br />
<script src="https://gist.github.com/michaelsoriano/c7cf359bbc62e8174c13.js"></script><br />
We then loop through each of our particular heading tag (in this case, all of H5).  Once it finds all of them, it checks to see if right next to it is another H5 tag; if it’s not, it adds a class of “<strong>clicker</strong>” to it and appends a span with a minus (-) sign in it:<br />
<script src="https://gist.github.com/michaelsoriano/c3eaa9b52de43e76b1eb.js"></script><br />
If you investigate your code so far – you will see that only the H5 tags that have content OTHER than H5 tags have the class “<strong>clicker</strong>” and the span tag with a minus (-) sign in it:<br />
<img fetchpriority="high" decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/11/accordion1.jpg" alt="" title="accordion1" width="576" height="298" class="alignnone size-full wp-image-1906" /><br />
Now let’s code the click events:<br />
<script src="https://gist.github.com/michaelsoriano/c338f51121538da16ee9.js"></script><br />
Now that we have our designated clickers, we create a couple of functions that toggle at every click.<br />
The first action, hides the contents below &#8220;<strong>$(this)</strong>&#8221; – which is the tag you just clicked. Remember &#8211; we only want to hide the contents up until the next H5 tag. It also changes the content of the span into a plus (+) symbol.<br />
The second action shows the contents below, and changes the span to a minus (-) symbol.</p>
<h3>Optional Styling:</h3>
<p>At this point you already have a functional accordion. If you’re applying the code to an existing page, you are already working with the current styles.  Although, using CSS3 for say the plus (+) and minus (-) span looks pretty cool – which I’m sure you’d want to use.<br />
Add this code to your styles:<br />
<script src="https://gist.github.com/michaelsoriano/9857fdda4cf7836fd255.js"></script><br />
Of course you have to replace the #wrap h5 with your own class / ids. This creates the css3 button you see in the demo. This code is courtesy of <a href="http://www.zurb.com/article/266/super-awesome-buttons-with-css3-and-rgba"> Zurb’s Super Awesome buttons with CSS3 and RGBA:</a></p>
<h3>Conclusion</h3>
<p>And that is it! You have yourself an accordion page powered by jQuery.  Feel free to grab this code and improve it. Maybe refactor it into a more plugin like code – make it more reusable. Or even &#8211; fix the choppiness issue in the slideUp / slideDown animation in certain browsers. In any case, please leave a comment on what you think of this code.<br />
You might also be interested in these articles regarding jQuery accordions:</p>
<ul>
<li><a href="http://www.sohtanaka.com/web-design/simple-accordion-w-css-and-jquery/">Simple Accordion w/ CSS and jQuery</a></li>
<li><a href="http://net.tutsplus.com/tutorials/javascript-ajax/exactly-how-to-create-a-custom-jquery-accordion/">Exactly How to Create a Custom jQuery Accordion </a></li>
<li><a href="http://css-tricks.com/grid-accordion-with-jquery/">Grid Accordion with jQuery</a></li>
</ul>
<div class="special">There are no downloads for this tutorial because it&#8217;s pretty simple to follow. I also had to disable the demo &#8211; for housekeeping purposes.</div>
<p>The post <a href="https://michaelsoriano.com/yet-another-jquery-accordion-tutorial/">Yet Another jQuery Accordion Tutorial</a> appeared first on <a href="https://michaelsoriano.com">Michael Soriano</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://michaelsoriano.com/yet-another-jquery-accordion-tutorial/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>Create a Single Page Portfolio from Scratch – Part 3: jQuery and PHP</title>
		<link>https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-3-jquery-and-php/</link>
					<comments>https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-3-jquery-and-php/#comments</comments>
		
		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Fri, 23 Apr 2010 03:40:16 +0000</pubDate>
				<category><![CDATA[Design & UX]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=1369</guid>

					<description><![CDATA[<p>Finally, we have come to the conclusion of this 3 part series. This part focuses on user interactions and functionality of our portfolio. The upper sections of the page I will take you through inserting several plugins as well as custom jQuery code that will make our page alive. This includes a rotating slideshow, expanding [&#8230;]</p>
<p>The post <a href="https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-3-jquery-and-php/">Create a Single Page Portfolio from Scratch – Part 3: jQuery and PHP</a> appeared first on <a href="https://michaelsoriano.com">Michael Soriano</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Finally, we have come to the conclusion of this 3 part series. This part focuses on user interactions and functionality of our portfolio. The upper sections of the page I will take you through inserting several plugins as well as custom jQuery code that will make our page alive. This includes a rotating slideshow, expanding and hiding sections and a modal view of images – also known as a “<strong>lightbox</strong>” effect. And to wrap it all up, we will add a small PHP snippet into our footer so we will have a working contact form.<br />
<a href="http://demo.michaelsoriano.com/single-page-portfolio/">View the Demo:</a><br />
This tutorial is part 3 of three parts: 1) <strong><a href="https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-1-photoshop-mockup/">the Photoshop Mock up</a></strong>, 2) <strong><a href="https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-2-html-and-css/">Coding the HTML / CSS</a></strong> and finally 3) <strong><a href="https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-3-jquery-and-php/">Adding PHP / jQuery</a>.</strong><br />
Are you ready to get your hands dirty? Let’s start coding:<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/part3.jpg" alt="" title="Part 3 of 3" width="576" height="189" class="alignnone size-full wp-image-1370" style="border:0;" /></p>
<h3>Convert the Feature into a jQuery Powered Slideshow:</h3>
<p>Our feature section looks good as it is. Though it would be better if the large image on the right would change and cycle through other images. In other words, we need to convert it into a slideshow of our best work.<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp1.jpg" alt="" title="Well convert this into a slideshow" width="576" height="323" class="alignnone size-full wp-image-1371" /></p>
<h4>Adding the Script Files</h4>
<p>First thing we need to do is download jQuery. jQuery will be powering all of the javascript we’re using for our page. Head on to <a href="http://jquery.com/">http://jquery.com/</a>, download and save it into our current directory.<br />
Inside the head section of our HTML, insert our script tag. Now all of jQuery’s magic is in our fingertips. Download the slideshow plugin from:  <a href="http://jquery.malsup.com/cycle/">http://jquery.malsup.com/cycle/</a>. Right below our first script tag, insert directly below:<br />
<script src="https://gist.github.com/michaelsoriano/751dbd1db2e5fde2a019.js"></script></p>
<h4>Getting the images ready:</h4>
<p>Now that our scripts are intact, let’s get our images and our stylesheet ready so the animation will take place. Open <strong>feature.png</strong> in Photoshop and create new guides as shown below. Make sure you cut right down to the pixel.<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp2.jpg" alt="" title="Add new guides" width="576" height="547" class="alignnone size-full wp-image-1372" /><br />
Cut out the center image and fill with solid color.<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp3.jpg" alt="" title="Fill with color" width="576" height="547" class="alignnone size-full wp-image-1373" /><br />
Save the file under the same name.<br />
Create several images that will go inside the slideshow &#8211;<strong> all must have the same dimensions</strong> &#8211; in our case: 476 pixels and 349 pixels.<br />
Insert the HMTL right below the feature div. Of course you will replace the image names with your images, along with the right path:<br />
<script src="https://gist.github.com/michaelsoriano/259490218bd61a68cbcd.js"></script><br />
Append this code inside your existing style.css file:<br />
<script src="https://gist.github.com/michaelsoriano/d0f4ff2b0cf4e6bcda36.js"></script><br />
This ensures that the slideshow will sit on top of the designated box in the feature div:<br />
Preview index.html in your browser. By now you should see your new slideshow swapping your images in your feature section:<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp4.jpg" alt="" title="Our slideshow is in place" width="576" height="323" class="alignnone size-full wp-image-1374" /><br />
<strong>Next up: The expanding sections, and the “lightbox” effect.</strong></p>
<h3>Adding the “More” click events on the sections below the fold:</h3>
<p>We have two sections below the fold that showcase what our work is all about. One is the useful “<strong>Testimonials</strong>” section – where visitors read what others are saying about our services. And of course, the “<strong>Previous Work</strong>” area – where you plug in screenshots of work that you’ve done. This may be websites, photographs, software; anything that can be screen captured you can apply.<br />
The point is to only show a few of testimonials, and a few thumbnails of your previous work. When visitors click on the “<strong>More</strong>” buttons, the section expands to show the rest.<br />
This approach is also best for people who have plenty of work, but only would like to show a little at first.<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp5.jpg" alt="" title="The More Buttons" width="576" height="630" class="alignnone size-full wp-image-1375" /><br />
Insert the code below inside the <strong>$(document)</strong>.ready function:<br />
<script src="https://gist.github.com/michaelsoriano/d227aacfb63d3aebb656.js"></script><br />
The above code first hides our testimonial DIVS (that are greater than 3) and our previous work list items (that are greater than 4). Then it alters the HTML of our buttons, as well as toggle our hidden sections to appear while sliding slowly.</p>
<h3>Adding the light show effect for the Portfolio gallery: </h3>
<p>For the portfolio thumbnails &#8211; it would really be nice to add a “lightbox” effect once the images are clicked. Lightbox provide a way for viewers to see the detailed image without physically leaving the page. For our portfolio &#8211; we’re using <a href="http://fancybox.net/">http://fancybox.net/</a><br />
Download: <a href="http://fancybox.googlecode.com/files/jquery.fancybox-1.2.6.zip">http://fancybox.googlecode.com/files/jquery.fancybox-1.2.6.zip</a><br />
Extract the files and copy the folder “<strong>fancybox</strong>” from the unzipped file and place in the root folder of our portfolio. Inside index.html, place the code in the head section:<br />
<script src="https://gist.github.com/michaelsoriano/2f4b21ca03e8f0110cab.js"></script><br />
In our un-ordered list of thumbnails, insert this “<strong>class</strong>” and “<strong>rel</strong>” attributes for each anchor tag. Refresh <strong>index.html</strong> in your browser and click a thumbnail. You should now see the effects of Fancy box from your portfolio:<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp-unknown.jpg" alt="" title="The lightbox effect" width="576" height="323" class="alignnone size-full wp-image-1377" /><br />
<strong>Last step: The contact form.</strong></p>
<h3>Completing the Contact Form with PHP</h3>
<p>Since HTML and javascript doesn’t support contents of a form to be sent through email, we need a little help from PHP to bring our contact form to life. We are now working with server side technology, so won’t be able to test our file without a web server. So in order to test our code, upload your file to your web host or run apache locally using <strong>WAMP</strong> or <strong>MAMP</strong>.<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp6.jpg" alt="" title="Server side code needs a web server" width="576" height="400" class="alignnone size-full wp-image-1380" /><br />
First thing we have to do is change the extension of <strong>index.html</strong> to <strong>.php</strong>. We will be working with the .php file from now on. You can discard the .html version – or keep it for archive.<br />
Look for the form tag inside <strong>index.php</strong>; add a method &#8220;post&#8221; and an action attribute.<br />
This enables our form to use the <strong>$_POST</strong> array and be processed by the same page. To test the contents of our post array, type the following code right above the form:<br />
<script src="https://gist.github.com/michaelsoriano/d3ac46593fb5ce6d68fe.js"></script><br />
Now, add some stuff to the form fields, click “<strong>Submit</strong>” and see what our pre tags have spitted out:<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp7.jpg" alt="" title="Contents of our post array" width="576" height="400" class="alignnone size-full wp-image-1381" /><br />
Now we know what we need to work with as far as the contents of our post array. We can now remove the  pre tags and continue to work on our code. Add the following code on the very top of the page (even before the !DOCTYPE declaration):<br />
<script src="https://gist.github.com/michaelsoriano/aa5d23ada4f17000780b.js"></script><br />
<strong>What the above code is doing: </strong></p>
<ul>
<li>Checks to see if the “<strong>submit</strong>” button has been clicked by checking if an array key by the name of “send” exists. If it does, the rest of the code executes:</li>
<li>We’re creating several variables that we can work with – this includes $to – email address to send to, along with the contents of the post array</li>
<li>We’re compiling the message by concatenating the variables we’ve created</li>
<li>Finally, the “<strong>mail</strong>” function which is what allows you send mail</li>
</ul>
<p>Now it’s time to test the code. Enter your email address into the <strong>$to</strong> variable then upload index.php to your web server. Fill out the form fields and click “<strong>submit</strong>”. You should receive an email similar to below:<br />
<img decoding="async" src="https://michaelsoriano.com/wp-content/uploads/2010/04/sp8.jpg" alt="" title="Sample Email" width="576" height="291" class="alignnone size-full wp-image-1382" /><br />
Now remember <strong>that this is a stripped down version of a contact form</strong>. You should seriously consider adding several things such as form validation and formatting the entries for safe and legitimate values. Also add error and success messages to let the user know what’s going on. (I won’t cover such things because as you can see – this tutorial has gone waaay too long).</p>
<h3>Final Words</h3>
<p>There you have it &#8211; a complete single page portfolio. We started all the way from scratch: Mocked up the concept in Photoshop, hand coded the HTML, while slicing the images and writing the CSS. We&#8217;ve added some jQuery magic as well as a little bit of PHP functionality. As you see &#8211; a lot of work does go into it (and that&#8217;s just a single page!)<br />
In closing, I hope that you may learn something from this 3 part series. I also would like to thank the script and plugin developers which I included in this tutorial. You can <strong><a href="https://app.box.com/s/q1z1ie8c8zuosyyv3fqo">download the finished product from this link</a></strong>, and of course<strong><a href="http://demo.michaelsoriano.com/single-page-portfolio/"> view the live demo</a></strong> from here.</p>
<p>The post <a href="https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-3-jquery-and-php/">Create a Single Page Portfolio from Scratch – Part 3: jQuery and PHP</a> appeared first on <a href="https://michaelsoriano.com">Michael Soriano</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://michaelsoriano.com/create-a-single-page-portfolio-from-scratch-part-3-jquery-and-php/feed/</wfw:commentRss>
			<slash:comments>21</slash:comments>
		
		
			</item>
		<item>
		<title>How to automate the WordPress Guest Posting Process</title>
		<link>https://michaelsoriano.com/automating-the-guest-post-process/</link>
					<comments>https://michaelsoriano.com/automating-the-guest-post-process/#comments</comments>
		
		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Sun, 11 Apr 2010 19:05:53 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=1346</guid>

					<description><![CDATA[<p>Ever wonder how to convert your WordPress blog into a more automated posting process? One that can accept guest posts, job listings or even a forum-type of blog? Where users can submit a post, save it into your drafts section and all you have to do is approve or deny? The beauty of the open [&#8230;]</p>
<p>The post <a href="https://michaelsoriano.com/automating-the-guest-post-process/">How to automate the WordPress Guest Posting Process</a> appeared first on <a href="https://michaelsoriano.com">Michael Soriano</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ever wonder how to convert your WordPress blog into a more automated posting process? One that can accept guest posts, job listings or even a forum-type of blog? Where users can submit a post, save it into your drafts section and all you have to do is approve or deny? The beauty of the open source community is that someone, somewhere had already thought about doing this, and have already developed a solution. With a combination of several plugins and some custom styling, here is how I was able to automate the guest post submission process here in my blog:<br />
First thing you have to do is check the “<strong>Anyone can Register</strong>” option under “Settings” &gt; “<strong>General</strong>”. Don’t forget to leave the “<strong>New User Default Role</strong>” as “<strong>Subscriber</strong>”.<br />
<img decoding="async" class="alignnone size-full wp-image-1347" title="Enabling the Anyone can Register Option" src="https://michaelsoriano.com/wp-content/uploads/2010/04/auto-1.jpg" alt="" width="576" height="100" /></p>
<h3>Lock Down the Registration Process</h3>
<p>Now that you have your site open for registration, it is best that you install these plugins first to enable tighter security:<br />
<strong><a href="http://bueltge.de/wordpress-login-sicherheit-plugin/652/">Secure WP</a></strong> – as many options that this plugin comes with to enhance security, what I especially need it for is to disable the error messages at login (which this plugin does very well)<br />
<strong><a href="http://didier.lorphelin.free.fr/blog/index.php/wordpress/sabre/">SABRE</a></strong> &#8211; stands for “Simple Anti Bot Registration Engine”. This produces that image during registration to block “autobots”.<br />
<strong><a href="http://devel.kostdoktorn.se/limit-login-attempts">Limit Login Attempts</a></strong> – the plugin title says it all. Activate this plugin and tweak depending how tight you want login attempts. Note that you’re not going to see any error messages due to the Secure WP plugin.</p>
<h3>Hide the WP Admin Panel</h3>
<p>So registration is open, security is tight – you still don’t want users to see your WordPress admin area. Not that there’s anything wrong with that – but it just looks more sophisticated when all is done in the front end. Install the following plugins:<br />
<strong><a href="http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin">Theme My Login</a></strong> &#8211; this plugin will generate a page called “<strong>Login</strong>” – this is where your new login forms (includes new registration and forgot password) will sit. Additional options also include custom emails, redirection and moderation. *Make sure you check “<strong>Enable Template Tag</strong>” under “<strong>Optimization</strong>” – You’ll need this in your theme later.<br />
<img decoding="async" class="alignnone size-full wp-image-1352" title="Theme My Login Settings" src="https://michaelsoriano.com/wp-content/uploads/2010/04/theme-my-login.jpg" alt="" width="576" height="320" /><br />
<strong><a href="http://www.jfarthing.com/wordpress-plugins/theme-my-profile-plugin">Theme My Profile</a></strong> – plugin created by the same author, which ports the users “profile” page into the front end. Make sure you theme and block admin area ONLY for roles you want.<br />
The following screenshots show the login page, as well as the profile page generated by the plugins that I’ve mentioned:<br />
<img decoding="async" class="alignnone size-full wp-image-1353" title="The New Registration Form" src="https://michaelsoriano.com/wp-content/uploads/2010/04/registration.jpg" alt="" width="576" height="520" /><br />
<img decoding="async" class="alignnone size-full wp-image-1350" title="The Themed User Profile Page" src="https://michaelsoriano.com/wp-content/uploads/2010/04/profile.jpg" alt="" width="576" height="520" /></p>
<h3>TDO Mini Forms</h3>
<p>We’ve come to the meat of the project. This is the plugin that does all the magic. <a href="http://thedeadone.net/download/tdo-mini-forms-wordpress-plugin/">TDO Mini Forms</a> allows users (registered on not registered) to submit and edit posts to your blog. It comes with its form creator that lets you design the post submission form any way you want. Widgets that let you drag and drop components into your form, as well as a form “<strong>hacker</strong>” that allows even deeper code tweaking. What I especially liked is that it hooks up with your “<strong>Akismet</strong>” for spam protection.<br />
<img decoding="async" class="alignnone size-full wp-image-1354" title="TDO Mini Forms Configuration Page" src="https://michaelsoriano.com/wp-content/uploads/2010/04/tdo-mini-forms-1.jpg" alt="" width="576" height="520" /><br />
After specifying all the configuration settings with TDO, go ahead and create a form with “Form Creator”. The form creator is a somewhat decent drag and drop interface where you grab the widgets in the bottom and drag it to the form. Widget settings are applied by clicking on the settings tab and it brings up the settings window as shown below:<br />
<img decoding="async" class="alignnone size-full wp-image-1355" title="Form Creator by TDO" src="https://michaelsoriano.com/wp-content/uploads/2010/04/tdo-mini-forms-2.jpg" alt="" width="576" height="520" /><br />
Once you’ve decided on the fields and the settings, you can now alter the code to change the verbiage, along with adding HTML elements in order to be able to style it in your stylesheet. Below shows my contribute form:<br />
<img decoding="async" class="alignnone size-full wp-image-1356" title="My newly styled Contribute Form" src="https://michaelsoriano.com/wp-content/uploads/2010/04/contribute1.jpg" alt="" width="576" height="520" /></p>
<h5>Maybe some Custom Code</h5>
<p>Depending on your pages – you might need to add some PHP conditional tags and functions to the theme manually. This is to link the new pages to each other. Simply copy your theme’s page.php file and rename it to something.php – convert it into a template by adding the code on top of the page:<br />
<script src="https://gist.github.com/michaelsoriano/0d6382649768d400dd66.js"></script><br />
Now below the call for the content, add the conditional tag with from the Theme My Login plugin:<br />
<script src="https://gist.github.com/michaelsoriano/537d94924b848b9eab1f.js"></script><br />
The screenshot below shows the custom link to the contribute form that we just created:<br />
<img decoding="async" class="alignnone size-full wp-image-1349" title="Custom Link to Contribute" src="https://michaelsoriano.com/wp-content/uploads/2010/04/login.jpg" alt="" width="576" height="220" /><br />
All you have to do now is to wait for guest post submissions and depending on the content &#8211; simply approve, edit or deny. The submissions are saved as draft posts and are in the moderation view of TDO mini forms:<br />
<img decoding="async" class="alignnone size-full wp-image-1367" style="border: 0;" title="The Final Process" src="https://michaelsoriano.com/wp-content/uploads/2010/04/moderation2.jpg" alt="" width="576" height="813" /></p>
<h3>Conclusion</h3>
<p>Now that you have converted your blog into a more automated (and sophisticated) posting process – think of all the possible scenarios you can create. Of course I’m completely aware that my guest posts will not land any successful submissions any time soon – it’s just good to know that it’s available. Not to mention, it was fun to make.</p>
<p>The post <a href="https://michaelsoriano.com/automating-the-guest-post-process/">How to automate the WordPress Guest Posting Process</a> appeared first on <a href="https://michaelsoriano.com">Michael Soriano</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://michaelsoriano.com/automating-the-guest-post-process/feed/</wfw:commentRss>
			<slash:comments>29</slash:comments>
		
		
			</item>
	</channel>
</rss>
