Function Reference: geodir_action_author_content_inside

Summary

Calls and outputs the template for the author page content section.

Global Values

$gridview_columns
(string) (required) The girdview style of the listings.

Default: None

Package

GeoDirectory

Change Log

Since: 1.0.0

Source File

geodir_action_author_content_inside() is located in geodirectory_template_actions.php [Line: 2955]

Source Code

function geodir_action_author_content_inside()
{
    global $gridview_columns;
    $listing_view = get_option('geodir_author_view');
    if (strstr($listing_view, 'gridview')) {
        $gridview_columns = $listing_view;
        $listing_view_exp = explode('_', $listing_view);
        $listing_view = $listing_view_exp[0];
    }
    geodir_get_template_part('listing', 'listview');
}