def obtain_articles(ids = nil, orderby = "post_title DESC")
      return Post.where(:id => ids, :post_type => 'post').order(orderby) if !ids.blank?
      return [@content] if !@content[0].blank?
      return Post.where(:post_type => 'post', :post_status => 'Published').order(orderby)
    end
def obtain_articles(ids = nil, orderby = "post_title DESC")
      return Post.where(:id => ids, :post_type => 'post').order(orderby) if !ids.blank?
      return [@content] if !@content[0].blank?
      return Post.where(:post_type => 'post', :post_status => 'Published').order(orderby)
    end
returns all the data of the given articles
 Params:
 +ids+:: an array of article ids that you want to obtain the data for - if this is nil it will simply return the @content variable data in an array format
 +orderby+:: What table column you want the posts to be ordered by, this is a sql string format