Posts in Code

ACF – create flexible content and display in template

This is a simple example of how to create a variety of content types, and display them in a WordPress php template. The content can be displayed in any order using drag and drop from the WP administration.

read more »

Loop through repeater rows to display upload files with title with ACF

How to loop through repeater rows to display upload files with title with Advanced Custom Fields Pro plugin in template file. In the WordPress administration: Create field of type Repeater Create Sub field (in our case named event_file) of field type file and set return type to File array Associate custom fields to desired CTP, […]

read more »

Integrating Bootstrap into your WordPress theme

I like to use Bootstrap for most custom wordpress themes which is an HTML, CSS, and JS framework for developing responsive, mobile website project. Here are basic steps to get started using Bootstrap. Download Bootstrap from getbootstrap.com Unzip Bootstrap and add the CSS, JS, and Font files to your theme in the correct directories Open […]

read more »

How I convert wp_list_pages to wp_nav_menu in WordPress Theme

Some older WordPress websites use the WordPress function wp_list_pages() to display the websites main menu. I want to use a more flexible function to display my website menu. In my WordPress theme, I convert wp_list_pages() to wp_nav_menu().

read more »

Locked out of my WordPress Website

Invalid login attempts to WordPress administration can cause your web host to block you by your IP address. I've never had a client blocked out of a website or experienced this myself. The next step was to contact the web host. They responded that this is a protection for our clients and keeps things more secure.

read more »