All posts by frank

Organize WordPress Blog Posts into Categories Listed as Menu Topics

Log into your WordPress dashboard and in the dashboard menu under “Posts”  select “Categories.”  Add a new category such as “Press Releases” and enter “press-releases” as the slug.   Click the “Save Menu” button.  Repeat this procedure if you need to add more new categories.

Make sure that you have already setup a website navigation menu for the front-end of your website.

On the dashboard menu under “Appearance” select “Menus.” Under “Categories,” select to “View All” of the available categories which you have added.  Click the check box next to the particular category title that you want to add as a menu topic to your navigation menu, and then click the button that says “Add to Menu.” Drag the menu topics into your desired order within the Menu. Save.

Whenever you create a blog post, select the category or categories where you would like to see your particular post grouped.  Then, publish or update your post.

On the front end of your WordPress website, you should be able to select the menu-category and all of your posts that you assigned to that particular category will appear on the same page, usually in the order of the most recent posts first near the top.  In other words, each category is like an archive of all the posts to which the particular category has been assigned.

When you customize your site for where blog entries and articles are posted, you can setup a static front-page and select a different web page on your site (or possibly no page at all) where all your posts will appear regardless of category assigned.  I will need to test the “no page selected for blog posts”  scenario.

Here is a much more detailed article on the topic, including organizing into sub-categories.

https://www.it.umass.edu/support/blogs/blog-posts-organize-posts-categories

Solved – phpList Temporary Directory for Uploading Is Not Writable

This applies to Windows O/S running Apache webserver, MySql database, and PHP installed. (a WAMP server installation).

Within the admin area of PhpList, you might get the following error when you try to upload / import a CSV file containing email addresses and associated contact information:

Warning: The temporary directory for uploading () is not writable, so import will fail

I tried setting $tmpdir in the config.php file, but this did not work.

Usually your upload_tmp_dir is not set in the php.ini file (on a global basis) because it is disabled with a leading semi-colon at the beginning of the applicable line.  This allows for setting the upload_tmp_dir separately for each virtual host / domain hosted with Apache server.

On your web server, find your path to the httpd-vhosts.conf file (like here /configs/apache/ ) and open the httpd-vhosts.conf file with your favorite text editor, such as Notepad++ editor.

Find the virtual host configuration section for your particular
# DOMAIN within which PhpList is hosted.

Under the area for

# Custom Global Settings (if any exist)

Using php_admin_value, insert the full windows path within the applicable virtual host / domain directory leading to your tmp upload directory for email address import using PhpList:

php_admin_value upload_tmp_dir “c:/hosted/username/public_html/domain_com/lists/tmp”

Ensure that the upload /tmp/ path is within your open_basedir restriction path which might be set in either your php.ini or httpd-vhosts.conf file.  In the https-vhosts.conf file it would look like this:

php_admin_value open-basedir “c:/path_with_domain_root;c:/windows:c:/other_outside”