About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Cool idea, Sridhar. And thanks for being so generous — as always! — with sharing your code.
A suggestion for your deals site — set up an easy way for people to get the deals by email.
Thanks again!
Good idea, added. Ty.
In sk_display_custom_fields() you use a mixture of ACF’s get_field() and get_post_meta(). Why? Are some fields not in your ACF setup?
Aside, in functions that output html/css/js, like facebook_share_btn_sdk(), I generally get out of php mode and reopen ?php tag so that I don’t have to escape single quotes. In Notepad++ the syntax highlighting in the html/css/js sections helps reduce typos e.g. insufficient single quotes.
Thanks for sharing the code and list of plugins used.
They are ACF Pro created/managed custom fields. Ideally I would use get_post_meta() for the date fields as well. But thinking that I would have to do searching and add additional parameter or function call to ensure that format specified in ACF is carried over, I used the ACF way of displaying fields. I did the website somewhat hurriedly.
“I generally get out of php mode and reopen ?php tag so that I don’t have to escape single quotes.”
Good idea. I should have done that.
You might want to try Sublime Text.
Sridhar, are you selling bfwpdeals? https://flippa.com/6528034-bfwpdeals-com
It is no longer owned by me.