702 reputation
514
bio website visztpeter.me
location
age
visits member for 3 years, 3 months
seen 15 hours ago

Nov
6
comment Elegant way to signify inheritance and relationship between posts
If i understand your question correctly, the 2 segments are a part if the complete show and you can only access the complete show from the frontend right? When you click on it, on the same page it will show the 2 additional segments. So if this is the case then you really don't need to create new posts for the segments.
Nov
6
comment Retrieve featured image as object
Well, usually you only need 1 size. You can use Advanced Custom Fields with the image field which will retrieve a full array with all sizes, but if you place the function i wrote inside your functions.php, its not that complicated.
Nov
6
comment Elegant way to signify inheritance and relationship between posts
I think its much easier to use custom fields to store the segments. The best plugin to use is Advanced Custom Fields PRO(or buy the separate Repeater addon), or you can use the free alternative called Simple Fields and look for also the repeater function.
Nov
6
answered Retrieve featured image as object
Nov
4
comment How can add posts without category into category
You can rename the Uncategorized category to News?
Oct
28
comment Order get_users() by last login date. Is it possible?
Thanks, answer updated.
Oct
28
revised Order get_users() by last login date. Is it possible?
edited body
Sep
12
awarded  Popular Question
Aug
19
awarded  Yearling
Aug
9
awarded  Popular Question
Jul
29
awarded  Notable Question
Jul
16
awarded  Tenacious
Jul
6
comment Posts to expire (deleted) after a date
How many coupons do you have? it should't be too slow, since its only going to run once a day.
Jul
6
comment Populate custom field on publish or update
in your theme's functions.php file
Jul
6
comment Posts to expire (deleted) after a date
Oh boy...:) You need some experience with WordPress to do something like this. But the code goes inside your theme's function.php file or create a plugin for it. How and where do you registered the coupon post type for the Coupons?
Jul
6
comment Posts to expire (deleted) after a date
The 3 example you showed in the question will work with strtotime, but its not fool-proof. The problem is that 01/12/2014 could be december 1. or january 12, nobody knows 100% sure.
Jul
6
revised Posts to expire (deleted) after a date
added 1049 characters in body
Jul
6
answered Posts to expire (deleted) after a date
Jul
6
comment Custom widget not appearing on front end
Also, looks like the widget appears on the other pages on the site, correct?
Jul
6
comment Custom widget not appearing on front end
First, theres a html syntax error with this, the widget that will be generated is inside a div, and you're trying to display the widget inside a paragraph tag, which is not going to work properly. In short, a paragraph element may not contain other block elements. So change <p class="opening-hours"> to <div class="opening-hours">