Change Author Info in Block

Posted in: Newsmag
Post count: 59

Hi there,

I would like to change the author name in Block view into a custom post type. I would like to pull “location_town” from post type “events” instead of Author (admin) next to the date.

It would be highly appreciated if you could point me in the right direction.

Cheers and a happy new year to you all. Keep up the good work.

Post count: 6600

Hi,

For blocks/modules this is the function used to get the author: http://screencast.com/t/TBMQsLik you need to alter it to pull your own data.
Hope this helps!

Thanks

  • This reply was modified 11 years by Lucian.
Post count: 59

Hi Lucian,

I know this is a lot to ask, but would you mind giving me a little, little hint how to alter the code??

Thanks very much and I wish you a happy new year.

Post count: 3343

Hi,

Do you mean in blocks the author name. The code is here in each module http://screencast.com/t/Q6SvCviD, just delete the author code and add your custom code for that location_town

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.