0
votes
1answer
58 views

Ways of dealing with nested arrays within option

I stumbled upon one problem regarding too complicated(at least in my point of view) data structures stored in option field. Right now I have an array of collections and within each other there is ...
0
votes
0answers
82 views

get_option( $options ) for multiple options in an array [closed]

I have created a sortable bar where with different options of orderby queries, like Random, Most Recent and others. The code looks like this: $orderby_sort = array( 'date' => __( 'Most ...
1
vote
1answer
146 views

Echoing a variable inside a function

In the interest of automation, instead of making a long list of code like this <td valign="top"width="50%"><p><label for="Facebook"><strong>Facebook ...
0
votes
1answer
538 views

Time & Date on Post - Time Ago Custom Function

I'm using the following custom function to display the timestamp for a post as posted "X minutes ago" or "X days ago" for 14 days and then this changes to the actual date (e.g. 17th December 2010): ...