WordPress – Moving wordpress installation to subfolder
After installing wordpress into home directory (ie public_html ) I realised it is not as clean as one would want
Read MoreEverything is open for discussion…
After installing wordpress into home directory (ie public_html ) I realised it is not as clean as one would want
Read MoreWhen extra information is required to be stored for a specific record in ‘wp_posts’, it can be stored in the
Read MoreEditing posts directly within the wordpress editor can be a nuisance when wordpress inserts ‘p’ tags and the like. Sometimes I want to edit HTML in actual HTML editor which allows me greater control over the presentation of the content. To facilitate this I have added a plugin which inserts HTML from a custom file based on the post id.
Read MoreWordPress template hierarchy – How wordpress decides which template to show based on user selections. Thumbnail goes to flowchart, link
Read MoreWhen the content to be shown needs to be modified, the query used by the ‘loop’ is adjusted to suit. For example, if it was desirable to have only a specific category on the home page.
Read MoreUseful links:
Read MoreFor wordpress sites I build, I insert the google analytics (ga) tracking code into the html head section via a plugin. I prefer this ‘cleaner’ approach of separating the code into a separate file. I also use the Wordpress function ‘is_user_logged_in’ to remove most of my visits to the site as I am typically signed in to my WP admin account. This post describes the steps I use…
Read MoreSummarizing the steps explained in the WP Codex for creating a child theme.
Source:https://developer.wordpress.org/themes/advanced-topics/child-themes/
Read MoreSteps I use to import data (ie posts, settings info etc) from my online hosting account to the MySQL database
Read MoreDocumentation covers this in detail: https://en.support.wordpress.com/code/posting-source-code/ Notes: Use ‘Text’ tab in post editor to avoid unnecessary formatting tags being added
Read More