Call   0208 3131682   Mon-Fri 9am-6pm
Monthly Archives

February 2018

How to override the comments form in a child theme

By | Custom Wordpress Theme Development, PHP, Programming, Theming, Wordpress | No Comments

This is a quick post on how to provide your own comments template in your child theme ( overriding comments.php in your parent theme). You can just as easily use the same code to override comments.php if you aren’t using a child theme.

Todo this you need to you need to use the filter ‘comments_template’ ( see the wordpress codex on this filter here)

 

A handy thing you might sometimes want todo is to have a custom comments template, for various custom post types. If you did want todo this you could just add in an if to encase the returned path and filename. e.g.

 

 

Hope someone finds these snippets for how to override comments.php useful.

 

 

How to engage your staff using your Intranet

By | Buddypress, Intranet, PHP, Web Design, Wordpress | No Comments

In this article, we’ll look at some ideas for useful things to have on your intranet and how to use these to help engage your Employees, members or Volunteers.

intranet employee engagement features

What are the benefits of engaged staff ?

  • Happy workforce ( productive workforce, helps business be more profitable)
  • Low Staff turnover ( saves money in recruitment and training)

Useful Intranet features  for employee engagement

Employee Recognition Section

Make your staff feel engaged by recognising them and their achievements ( both personal and professional ). A section on your homepage for this would really make people feel valued, and a good way for other employees to spark up a conversation with the recognised individual ( or team) Some ideas of the kind of thing to recognise:

  • An employee has a work anniversary
  • An employee is doing a Marathon for charity
  • A employee or team have delivered a great project that will help company save money
  • The works Football team are doing well

“Our Intranet features a news feed with stories of employee honors and work anniversaries, volunteering, company sponsorships and other news with links to more details. It can be a challenge sharing our culture across four states in a regulated industry. But people love reading about and seeing images of colleagues they know as well as those they’ve never met. By far we’ve gotten the most engagement posting photos of employees in Halloween costumes and celebrating Ugly Sweater Day. In a regulated industry, the simple, silly things unite us and we laugh together. ” – An Intranet Manager I interviewed that wishes to remain anonymous.

 

New Employees Section

Welcome your new employees, with a section on the homepage, linking to their staff profiles.

Suggestions

Have somewhere, that employees can easily post suggestions, to save money, to make staff more engaged, to make money and so on. Your staff are your businesses greatest asset ( often the ones on the shop floor close to certain areas of the business can deliver great insights – that might otherwise never come to light). You could incentivise with a monthly prize for the best suggestion.

Personalisation

Display relevant content to the Intranet visitor based on one or a number of criteria ( or even let users pick what they want to see).

Displaying content based on a Persona 

E.g. one type of persona could be ‘New Starter’ , are there any important documents they need to read, are their specific forms they might need to fill ( eg bank details so they can get paid on time).

If your a large organisation (with multiple locations across the globe) you might want display things based on the location, or the team ( maybe HR need to see something different to IT and so on).

Allowing Users to pick content they are interested in

You can let users pick some of the content they are interested in and have it displayed prominently for them.

 

Are you looking to have an intranet developed or would like to upgrade / improve your existing Intranet ? Get in touch we’re experts in this area.

 

Buddypress hide the top level tabs from users ( e.g. hide the group tab)

By | Uncategorized | No Comments

This is to hide the top level tabs from users. Based on this code from the buddypress forums.

buddypress pr

 

Buddypress how to remove tabs from groups sub tabs ( eg remove Delete group)

By | Buddypress, Membership sites, PHP, Wordpress | No Comments

This code is based on a post from the buddypress forums tested on Buddypress 2.9.2  ( forum states its compatible from BP 2.6+).

In this example we remove the Delete tab and also permission so that user can’t try and goto the url to access it.

Note there are numerous other examples / versions of this code  scattered about the bp forums that dont work as function bp_core_remove_subnav_item now requires the extra param (see code below).

important: Navigation API has lots of good up to date examples

 

See this post also on hiding the delete tab on the groups from the buddypress forums