Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dmag55

    (@dmag55)

    Thank you. The link you provided led me to document_title_parts filter, which is exactly what I was looking for.

    • This reply was modified 3 years, 1 month ago by dmag55.
    Thread Starter dmag55

    (@dmag55)

    The article deals with page title of a shop page, my question is about title tag contained within the head tag in page’s html markup.

    After adding add_theme_support(‘title-tag’) to my functions.php, the title tag for my shop page becomes as follows:

    <title>Products - My Site Title</title>

    Whereas it’s supposed to be:

    <title>Artworks - My Site Title</title>

    Since the shop page in WP Dashboard > Pages is titled “Artworks”.

    The title tag is generated by add_theme_support(‘title-tag’) functionality, but for some reason it generates title “Products” instead of shop page’s actual title.

    Thread Starter dmag55

    (@dmag55)

    Well, I’ve tried requiring /wp-admin/edit-tags.php in my custom menu page, while providing taxonomy=my_custom_taxonomy parameter in the url. It displayed the taxonomy UI, but with some errors, so to fix it would be too hacky for my plugin.

    All I need is to insert tabs’ html markup to the top of taxonomy template (edit-tags.php). I’ve checked edit-tags.php file – there’s no filters to insert custom html. So I was wondering, maybe there is some straightforward way to insert custom html to edit-tags.php that I’m missing?

    Thread Starter dmag55

    (@dmag55)

    Depending on what UI elements you really want on the page

    I would like standard taxonomy UI of WordPress, so I will be looking to implement it that way. Thank you for the information.

    Thread Starter dmag55

    (@dmag55)

    I will explore the option with hierarchical scheme. Thanks for the advice.

    I understand that I would have develop tabs myself, but how can I render original taxonomy template in a tab?

Viewing 5 replies - 1 through 5 (of 5 total)