.gitignore for wordpress development
Without a correctly set .gitignore file during site development using wordpress, thousands of files are unnecessarily tracked. WordPress and wordpress
Read moreWithout a correctly set .gitignore file during site development using wordpress, thousands of files are unnecessarily tracked. WordPress and wordpress
Read moreGitKraken’s .gitignore wordpress template is a good basis to start with… [code lang=”powershell”] # ignore everything in the root except
Read moreCreates multiple folders in specified location for a list of specified years and inserts sub-folders for each month in each year folder.
Scenario: Maintaining dated documents such as photos or receipts. This script quickly creates a suitable folder structure for the years required.
Use: Function LastRowInt(InWS As Worksheet) As Integer LastRowInt = InWS.UsedRange.Find(What:=”*”, After:=InWS.Cells(1, 1), Lookat:=xlPart, _ LookIn:=xlFormulas, SearchOrder:=xlByRows, SearchDirection:=xlPrevious, _ MatchCase:=False).Row End
Read moreReading data directly from excel file rather than saving in csv file format.
Read moreThis site: https://www.designersinsights.com/designer-resources/designing-responsive-website/ Recommends these breakpoints… Using Hardware Pixels to Design a Responsive Website When designing a responsive website, we
Read moreWhen extra information is required to be stored for a specific record in ‘wp_posts’, it can be stored in the
Read moreA list of commands I have used in R for information about the environment or general settings.
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 more