Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #450962

    Hi,

    I do not want to show post date on top of the magazine entries, I would like to display the category and author instead; something like:

    in Macros / by Peter Piper

    How can I do this?

    Kind Regards,

    Chapdes

    #451257

    Hey chapdes!

    Try changing line 583 in /enfold/config-templatebuilder/avia-shortcodes/magazine.php from this.

    $output .=			"<time class='av-magazine-time updated' {$markupTime}>".$time."</time>";
    

    To this.

    $category = get_the_category();
    $output .=			"in " . $category[0]->cat_name . " / by " . get_the_author();
    

    Cheers!
    Elliott

    #451504

    Hi Elliot,

    Your code is pulling the author but not the category.

    Look at: http://formulas-excel.com/comentarios/

    Regards,

    Chapdes

    #452310

    I’m also curious!

    #453222

    Hey!

    Hmm, are you sure there is a category assigned? I tried checking your link again but I did not see any magazine elements in the page.

    Best regards,
    Elliott

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.