• Hi. I am using Secondary Title for product brand names in Woocommerce. I want secondary titles where defined to appear in the permalink for a product. I can’t find any plugin settings that specifically allow me to do this. I have tried creating custom permalinks in WordPress with your %secondary_title% tag. This does not work. Is this feature supported?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author thaikolja

    (@thaikolja)

    Hi @ngwebspinner,

    Thanks for your post.

    Unfortunately, I’ve never thought about making the plugin compatible with WooCommerce, but it’s definitely a feature that I should consider.

    I have tried creating custom permalinks in WordPress with your %secondary_title% tag. This does not work. Is this feature supported?

    Are you talking about the permalink settings on wp-admin/options-permalink.php?

    Plugin Author thaikolja

    (@thaikolja)

    I’ve just created a custom permalink on my local test server, and it works just fine.

    The URL /hello-world/secondary-title/ displays the Hello World post. However, I haven’t tried it with WooCommerce because I don’t know what settings you have set for that plugin.

    Edit: The secondary-title part in the URL is the secondary title added to the Hello World post.

    • This reply was modified 6 years, 3 months ago by thaikolja.
    Thread Starter ngwebspinner

    (@ngwebspinner)

    Many thanks for your response @thaikolja.

    Your useful plugin allows me to break up my product name into brand and generic name. A product example would be Heinz Baked Beans. I’d place Heinz in the secondary title field and Baked Beans in the default title field. This allows me to style the parts differently.

    For permalinks, I was aiming for product/baked-beans-heinz, where product is common base for all my products. This would of course be conditional: no extra hyphen at the end of the product name if the secondary title field is empty. This use case does not appear to be supported by your plugin. Thanks anyway.

    Plugin Author thaikolja

    (@thaikolja)

    Hi @ngwebspinner,

    Even though there’s no specific option for what you want to achieve, it’s still possible with a few lines of code. For a small donation, I’m willing to do that for you. Your choice ??

    Plugin Author thaikolja

    (@thaikolja)

    Is this what you want, @ngwebspinner?

    1. Without secondary title

    View post on imgur.com

    2. With secondary title

    View post on imgur.com

    If not, please correct me.

    • This reply was modified 6 years, 2 months ago by thaikolja.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Secondary Title not showing in permalink’ is closed to new replies.