Comments for Keith Devon https://keithdevon.com/ UK-based WordPress developer Tue, 14 Feb 2017 12:13:11 +0000 hourly 1 https://wordpress.org/?v=6.1.7 Comment on Why I’ve set a minimum budget by Keith Devon https://keithdevon.com/minimum-budget/#comment-113054 Tue, 14 Feb 2017 12:13:11 +0000 https://keithdevon.com/?p=1116#comment-113054 In reply to Laura Zito.

Hi Laura,

“I know I’m slightly out of budget here”

That is likely the problem. I see it over and over again that people aren’t prepared to pay the rates for reputable developers, and then wonder why things go wrong.

I can’t speak for your exact situation, as it may be different, but if people always look for the cheapest option, they’re likely to get what they pay for. As the expression goes, “If you pay peanuts, you get monkeys.”

If you want me to quote on the work, you can find me over at Highrise Digital these days.

Keith

]]>
Comment on Why I’ve set a minimum budget by Laura Zito https://keithdevon.com/minimum-budget/#comment-113018 Mon, 13 Feb 2017 00:43:13 +0000 https://keithdevon.com/?p=1116#comment-113018 Hello there,

I know I’m slightly out of budget here, so I must apologise in advance for my email, but I wonder if you could help a struggling small blog owner in a search for someone reliable to help me!

I’m looking for a developer to help me transfer my WordPress blog from my current, old domain name to another (all domains and hosting are via TSOHost), and set up some redirects to ensure my SEO isn’t hit too badly. I don’t know if you could perhaps point me in the right direction of someone who could help? I’ve had bad experiences with unscrupulous developers on bid-type sites outsourcing to shady companies and netting a decent profit for literally no work, so any decent recommendations would be appreciated.

Many thanks,
Laura

]]>
Comment on Using variables with WordPress translation functions by Luca https://keithdevon.com/using-variables-wordpress-translation-functions/#comment-111347 Thu, 10 Nov 2016 12:55:29 +0000 https://keithdevon.com/?p=1183#comment-111347 This was a good help for e thank you. The special use case isn’t generally covered in articles about l18n.

]]>
Comment on Passing variables to get_template_part() in WordPress by Rob https://keithdevon.com/passing-variables-to-get_template_part-in-wordpress/#comment-111285 Sun, 06 Nov 2016 11:25:08 +0000 http://keithdevon.wpengine.com/?p=1041#comment-111285 Why not just include the file in the first place rather than using get_template_part() ?

That way it’s aware of the variables from file that includes it.

Not WordPress standard practice (but then you are still using include in the template part anyway) but seems a lot more sensible than loading a template part and then loading the file that included it again. Infinitely loading files within themselves could lead to a lot of issues. At least consider using include_once instead of include.

]]>
Comment on Passing variables to get_template_part() in WordPress by Christos https://keithdevon.com/passing-variables-to-get_template_part-in-wordpress/#comment-110459 Tue, 27 Sep 2016 17:08:57 +0000 http://keithdevon.wpengine.com/?p=1041#comment-110459 You may easily pass variables to a template part, using the set_query_var / get_query_var functions, which are wrapper functions for the identically named WP_Query class methods.

SET THE VARIABLES:

$options = array( ‘option1’ => ‘value1’, ‘option2’ => ‘value2’ );
set_query_var( ‘my_options’, $options );
get_template_part( ‘templates/example/part’ );

RETRIEVE THE VARIABLES IN TEMPLATE PART

$options = get_query_var( ‘my_options’ );
if ( is_array( $options ) ) { extract($options); }
echo ‘This is my option 1 value: ‘. $option1 .”;
echo ‘This is my option 2 value: ‘. $option2;

…and just my two cents for theme authors. I think that the locate_template function suggested in this article is not the expected choice to include a template part. You might get the same result using it, nevertheless it does not provide the extra do_action trigger that get_template_part does…and some plugins might rely on it. In addition, using an include() function for your template parts will produce several alert notices on several quality review tools ( such as the Theme Check plugin ).

]]>
Comment on How (and why) to use Schema.org on your WordPress website by iswinar70 https://keithdevon.com/schema-on-your-wordpress-website/#comment-110421 Mon, 26 Sep 2016 05:09:56 +0000 https://keithdevon.com/?p=1234#comment-110421 schema markup will boost the traffic… but is still difficult to enabling to different theme that have different code too..

]]>
Comment on Passing variables to get_template_part() in WordPress by manu https://keithdevon.com/passing-variables-to-get_template_part-in-wordpress/#comment-110336 Thu, 22 Sep 2016 09:48:23 +0000 http://keithdevon.wpengine.com/?p=1041#comment-110336 In reply to Russy.

Thank you. I think this is a better solution that the one provided by this article.

]]>
Comment on Passing variables to get_template_part() in WordPress by Passing variables to get_template_part - JolekPress https://keithdevon.com/passing-variables-to-get_template_part-in-wordpress/#comment-110172 Sun, 11 Sep 2016 22:05:17 +0000 http://keithdevon.wpengine.com/?p=1041#comment-110172 […] course! One alternative is to use something like the following, as pointed out by Keith Devon, instead of […]

]]>
Comment on How (and why) to use Schema.org on your WordPress website by atul https://keithdevon.com/schema-on-your-wordpress-website/#comment-110159 Sat, 10 Sep 2016 13:58:13 +0000 https://keithdevon.com/?p=1234#comment-110159 Hi, great post and nice additional references.

I was wondering which schema tag is more appropriate for blog content: text or description? I am using description on my site http://socialsubway.com.

Thank you again!

]]>
Comment on How (and why) to use Schema.org on your WordPress website by atul https://keithdevon.com/schema-on-your-wordpress-website/#comment-110158 Sat, 10 Sep 2016 13:49:59 +0000 https://keithdevon.com/?p=1234#comment-110158 In reply to Paul Weir.

the example code was removed from the previous comments. See below:

” ‘thumbnailUrl’)); -?->”

Added hyphens(-) as the code is getting removed automatically.

]]>