Home>

I want to output only the /% postname%/part of the wordpress permalink.

The permalink setting has a custom structure and is set to /% postname% /.

http://example.co/%postname%/

I want to output only the part of% postname% /, but if I output with<? php the_permalink ();?>etc.
All will be output from url.

How can I output only the part of% postname% /?