Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

Nix Prefix

Beskriuwing

Nix Prefix is a super-simple WordPress plugin to remove or customise the prefix text on your archive pages. Go from:

Category: Puppies and Kittens

to

Puppies and Kittens

on your archive pages—no child themes required!

For a better visual of what this does, have a look at the screenshots tab.

Need help?

  • Full documentation: http://sarahmonster.github.io/nix-prefix/
  • Github repo: https://github.com/sarahmonster/nix-prefix
  • Ask me on Twitter: https://twitter.com/sarahsemark

Skermôfbyldings

  • Twentysixteen without Nix Prefix.
  • Twentysixteen with Nix Prefix.
  • Twentysixteen with Nix Prefix and custom CSS.

Ynstallaasje

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Presto! Your archive page titles will now display without any prefixes.

FAQ

Why doesn’t this work with my theme?

This plugin doesn’t work with all themes—yet! It’s currently filtering the standard the_archive_title function, which was added to core in 4.1, released December 2014. If your theme is more than a year old, there’s a good chance it will be using a non-standard function instead, which is more of a challenge to filter consistently.

If you’d like to use this plugin and it doesn’t work with your theme, please create an issue on Github and I’ll work on adding support for your particular theme.

How do I customise the prefixes?

The best way to customise your output is by using CSS. The CSS snippets section here should help you get started.

To dequeue the plugin’s custom CSS, copy the following line into your theme’s functions.php

function nix_prefix_dequeue_plugin_styles()  {
    wp_dequeue_style( 'nix-prefix-style' );
}
add_action( 'wp_print_styles', 'nix_prefix_dequeue_plugin_styles', 100 );
What archive page types does this work with?

This works for all archive page types:

  • category archives
  • tag archives
  • authors archives
  • date archives
  • custom post types archives
  • custom taxonomy archives

You can customise the display for different archive types by using targeted CSS classes.

Resinsjes

30 maaie, 2018 1 reakce
Utterly simple and, at the time of writing, not updated for a while. But it works. And works well.
3 septimber, 2016
Does one thing (removes “Category: ” prefix) and does it well.
Lês alle 2 resinsjes

Meiwurkers & amp; Untwikkelders

“Nix Prefix” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette “Nix Prefix” yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

0.1.0

  • Initial release.