Remove post type slug from url and replace with terms

Copy below code in your function.php file.

Create post type with url taxonomy term

“our_homes” taxonomy terms and  “property” Post type.
you must be assign category else it will error

 

 

Update the_excerpt word length

Using given code you can increase or decrease wordpress default function length.

the_excerpt()

you can just coppy and past below code in function.php file and update text length using update return value.

 

Wp to add custom field display in admin post list

You can add any custom field in your admin post type / page / custom post type list using below code.

Below code example for display event start date in event post type admin list.

here in below example “event” is custom post type and “event_date_start” is custom field.

 

wordpress 4.7.3 version for security

You can see mor update on wp site.
it will support follow 6 task.

  • Cross-site scripting (XSS) via media file metadata.
  • Control characters can trick redirect URL validation.
  • Unintended files can be deleted by administrators using the plugin deletion functionality.
  • Cross-site scripting (XSS) via video URL in YouTube embeds.
  • Cross-site scripting (XSS) via taxonomy term names.
  • Cross-site request forgery (CSRF) in Press This leading to excessive use of server resources.

DOWNLOAD wp 4.7.3 here

WordPress 4.7.3 Security and Maintenance Release