Pages, Posts and Blogs:  What’s the difference?

Pages, Posts and Blogs: What’s the difference?

   Pages, Posts and Blogs:

What’s the difference?

I’ve noticed with myself as well as working with others who are new to WordPress  understanding the  difference between Posts and Pages can be a little tricky.  The WordPress Codex explains Pages in the following way:

    In WordPress, you can put content on your site as either a “post” or a “page”. When  you’re writing a regular blog entry, you write a post. Posts, in a default setup, appear in reverse chronological order on your blog’s home page. In contrast, pages are for non-hierarchical content: pages like “About” or “Contact” would be common examples. Pages live outside of the normal blog chronology, and are often used to present timeless information about yourself or your site — information that is always relevant. You can use Pages to organize and manage the structure of your website content.

Pages live outside of the normal blog chronology, and are used to present timeless information about yourself or your site — information that is always relevant. (WordPress.org ) Pages can use different page templates, including template files, Template Tags and other PHP code. (WordPress.org ) https://codex.wordpress.org/Pages

Clear as mud right?  To simplify, think back to any website you’ve visited.  It can even be this one if you like.  When you first come to my website you arrive on my homepage. The homepage is created through making page in “Pages”.  You do this by navigating to the Dashboard and clicking Pages.   Once there you can either click “Add New” in the Dashboard located underneath Pages or you click the “Add New” button to the right of the Dashboard that is next to the  title “Pages”.   Now you

A post in the most simplistic sense is where you go to create entries for your blog.  Blog creation is not the only use for Posts but is often the most common one. Which is what we will focus on today.  Here is the kicker. In order for you to see the Posts you need to create a Page in which these Posts will live.  To get your Blog up and running you would create a Page, call it ‘Blog’  ( or whatever you want your blog to be called ) and then you would go into Settings -> Reading -> Front Page Displays -> Posts Page -> select the dropdown and choose Blog.

Multisite: Setting Up A Local Environment

Multisite: Setting Up A Local Environment

When considering a multisite network for your clients you need to ask yourself two questions:

 

1) Who are my clients?  

2) How do they currently use WordPress?  

 

Asking these two questions will help you the developer, designer or agency to

determine whether or not multisite is going to be the ideal solution for your clients.

A major advantage of a multisite network is that you are working with only one

instance of WordPress which means that updates to the WordPress core, themes and

plugins will be managed more easily.  So today I would like to discuss how to set up

multisite locally so you can explore all that multisite has to offer. In this tutorial I will

review the process for creating a local site through MAMP and then jump into setting

up your very own local multisite network.

 

So let’s get started!  

 

SETTING UP MAMP

 

1) Setup MAMP

– Create a directory ( < your-directory > ) for your WordPress installation.
– Make sure MAMP is pointed to the directory you just created
– Created your database in phpMyAdmin
– Make sure the Apache port is switched to 80 and MySQL 3306.

2) Configure the hosts file

 -  Terminal sudo nano /etc/hosts -  Add ‘127.0.0.1  -  Save and exit

3) Edit ‘httpd.conf’

  - Terminal  sudo nano  /Applications/MAMP/conf/apache/httpd.conf

– Look for:

          # Virtual hosts          # Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf

– Remove the ‘#’ in front of the “Include” and save the file.

4) Adding Virtual Hosts to the VHOSTS file

  - Terminal sudo nano /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf
  - Copy and paste into the file:
             <VirtualHost *:80>                              ServerAdmin webmaster@your-directory.dev                    DocumentRoot “/Applications/MAMP/htdocs/"                    ServerName your-directory.dev                    ServerAlias your-directory *.your-directory.dev             </VirtualHost *:80>

At this point you should be seeing the famous five minute install screen which means you are ready 

 for WordPress installation.  You are probably having issues with MAMP and the

port settings.  Follow these steps:

1) Launch MAMP

2) Open MAMP and click on ‘Reset MAMP Ports’ and change them back to the defaults, then click ok.

3) Switch to terminal and type sudo apachectl stop

4) Restart MAMP

5) Open MAMP and set APACHE and MySQL ports to 80 and 3306

6) Switch to terminal and type sudo apachectl restart

7) Switch back to MAMP and you should be good to go.

Not seeing the famous five minute install?

 

If you are still having issues with the MySQL ports, make sure to open your ‘Activity Monitor’

and quit any instances of MySQL. If you are still having issues restart your

computer and follow steps 1 through 7 again.

 

Setting up Multisite…finally

 

I’m assuming you went through the five minute install and are now running a

WordPress installation. If not please do so before continuing.

1) In your text editor open up to the ‘wp-config.php’ file and look for:

 /* That’s all, stop editing! Happy blogging. */

Above that comment you type define(‘WP_ALLOW_MULTISITE’, true);

Save the wp-config.php file and head back to your WordPress admin.

2) Once logged in scroll down to Tools > Network Setup.

After clicking ‘Network Setup‘ you will see the following screen:

 

 

This is where you will create your network. Since we are setting up the multisite network locally

make sure to select ‘Sub-directories’ as the Sub-domains option requires you to have a wildcard DNS

record.  Go ahead and click install

3) You should now see the following image:

Copy and past the first block of code into your wp-config.php.

Next head over to your .htaccess file and replace the rewrite mod rules with the new ones provided

in the ‘Enabling the Network’ screen.  Initially when I did this I ran into an issue with the copy and

paste method so  I deleted the .htaccess
file, created a new one and pasted in the fresh code.

When I attempted the process a second time I
was able to straight copy and paste from the original

file with no issue.  Next, log back into  the WordPress admin.

If you did everything correctly you should see the “My
Sites” with a drop-down and to the right of it

you should see the name of the first network you created.

 

The first time I set up the multisite network it took me quite a bit of time.

The second time I set up
the multisite network it took me about five minutes ( thankfully 🙂 ),

which included creating a virtual
host and installing WordPress. The setup is relatively straight-

forward  after the initial hiccups are 
resolved.

 

Thank you for reading.

mojomarketplace banner lightning talk

bluehost banner lightning talk

 

Flushing Permalinks

Flushing Permalinks

Flushing Permalinks

 

Today I would like to talk to you about how and when you should flush your permalinks.  If you are confused as to what permalinks are just take a look up above, in your address bar. You will see what is commonly referred to as a URL.  A permalink  is just another name for the URL that you are seeing in your address bar.  

 

Reasons you would need to flush your permalinks:

 

  1. You recently changed your domain name and have noticed that when you visit your website it keeps defaulting to the old domain name. ( So frustrating!!!! )
  2.  

  3.  You have recently published a new page/ post and when you visit that page/post you are receiving a 403 Error that displays something like this :
  4.  

  5. Forbidden: You don't have permission to access [directory] on this server

 

  How to flush your permalinks:

 
Permalinks
Head over to your dashboard/admin and scroll down to the Settings and then click on Permalinks 
 
[fac_icon icon=”arrow-circle-o-left”] If you did it right you should now be in the Permalinks settings page.  
 

From here you are going to click a setting that is not currently selected and then change it back to the Post Name setting.  ( Warning ) Among the WordPress community some advise using Post name as your permalink setting while others say to change it to the Day and name setting.  For our purposes here we will stick with Post name. ( Warning )

 

Next you will go down to the blue save button and click it.  While remaining on the permalink page you are going to refresh your browser/client.  This can be done by holding down f5/shift + R ( Windows ) or Command +  R ( Mac ).  Now that you are flushed your permalinks you are ready to check out the result.

 
Head back to your website by navigating to the upper left hand corner of your screen House   Hover over the house icon and then click visit site.  Now you should be viewing your homepage.  If you are,  you may still not see a change.  Don’t worry all you need to do is refresh your homepage.  
 

If you flushed your permalinks due to a recent domain change then your problems should be resolved. If it is not then you will need to head back over to Settings -> General -> Site Address( make sure this has the new domain name ) –> WordPress Address ( this needs the new domain name too ) -> Save You should be ready to rock and roll!

 

If you flushed your permalinks due to a 403 Error, then you will need to navigate back to the problem child page/post to see if it has been resolved.  If the permalink flush did not resolve the error, then create a new page, give it a different name, copy and paste in your old content, save and refresh.  You should be back in business baby!!!!

 

 

 

***Youtube video on how to flush permalinks***

 

 

 

Thank you for reading 🙂

Where did my comments go?

Where did my comments go?

Where did my comments go?

 

Have you ever been working on a blog post and all of a sudden the comments section has disappeared on

you or is only showing up on some blog posts and not others?  If you find yourself in this situation the solution is pretty

simple.

                            1.  Look at the top of your post screen.  You should see something like this:

                                                                              Screen Options

 

   You may have seen the ‘Screen Options’ section before if not, here it is.  Screen Options allow you  to enable/disable

  multiple content features on your posts as well as pages. In our case, comments.  Once  you open the drop down menu

  you might see something like this:

 

Screen Option Drop Down

 

 

2. If  you are like me you are probably looking for the  “Comments” box to check.  You aren’t going to

find it.  What you need to look for is the “Discussion” box instead and make sure you check mark that

option. Now that it is checked you can close the drop down box on ‘Screen Options‘.

 

3.  Scroll down the Post until you see the  ‘Discussion’ box appear:

 

Comment Box

 

This box has two options.  The first option if checked will allow others to make comments on your post. If

you want users to be able to make comments on your posts then definitely make sure it is checked. If you

don’t want them to make comments, uncheck the box.

 

4.  Make sure to Update/Save Draft/Publish your page and you will be all set.  When you preview you the

Post you should now see this:

 

Comments Section

 

Your comment section might look a little different from mine and that is ok.  The main idea here is that

your users now have access to comment on your blog post and leave whatever feedback they desire.

 

 

Thank you 🙂 I hope this helps!

 

WordPress: Is it easy?

WordPress: Is it easy?

 

A little over a month ago I started a new gig as a  WordPress consultant. It has been a fun, interesting,

and an eye opening experience. I’ve been working with individuals from all walks of life, with different

skills and  abilities.  It got me thinking about WordPress in new ways.  Specifically how and why people

use WordPress.  I’ve learned many new things and today I would like to share with you one of those

observations. 

 

WordPress is supposed to be easy. What’s the deal?

    WordPress can seem deceptively easy to someone who is just starting out. I have even had people ask

me what is so hard about creating a post and publishing it? It seems pretty straight forward and they are

exactly right.  WordPress  is supposed to be straightforward. WordPress was  originally built as a

blogging platform which is why many people choose to use WordPress for their blogs.  In my experience

WordPress is unparalleled to any other CMS that is out there because of how user friendly and intuitive it

is.  For me the complex part of WordPress comes into play when you are designing your web pages,

building out your theme, and adding functionality to your site through plugins.  That is when you start

delving into muddier waters and discover that WordPress has a learning curve.

 

The Learning Curve

    I’ve been a Web Developer professionally for a little over a year.  In my first job the agency I worked

for used WordPress.  Up until that point I hadn’t really used WordPress to develop websites.  I had

attended a WordCamp in the summer and knew how to create pages and publish posts, but that was

about it.  My framework of choice was Django.  Django is the web development framework I learned

while attending a coding bootcamp. It is based on the Python programming language which is known

to be very clean and straightforward. I thought how difficult can WordPress really be?  I already know

how to create a websites using Django and how different can it really be?  To my surprise it was actually

very  different and not as easy as I had anticipated. I felt like the WordPress Codex (WordPress

documentation ) was overly complicated,  plugins were a nuisance that restricted my ability to code

freely and that PHP wasn’t  a “serious” programming language.  Really though,  those reasons weren’t

why WordPress ended up being difficult for me to learn.  Looking back on it WordPress was difficult

for me  to learn because I thought it would be easy and effortless and it wasn’t.

 

Today

   In my current position I use WordPress as a blogger and entrepreneur not as a developer. Again I’m

faced with a similar learning curve.  Instead of learning how to create, style and build

functionality for themes I’m learning how to utilize dozens of plugins, understand the inner workings of

hundreds of themes, and provide SEO support and advice. 

 

Pep Talk:

   Personally, I’ve spent several hours if not days trying to solve a single WordPress issue and this is with

web development experience. So please, do not get stressed or frustrated with something that you think

should only take you a few minutes that ends up taking you all day. It doesn’t mean you are dumb, it just

means you are still learning.  That is just the nature of web development. Like I mentioned before the

part of WordPress that is supposed to be easy is the blogging system.  Going into the Posts clicking add

new, creating content in the wysiwyg and publishing is supposed to be seamless.   For everything else,

that is why you will find hundreds if not thousands of videos and web tutorials how about how to use

WordPress.