Skip to content

Conversation

@ArtskydJ
Copy link

The title to every page (expect Deprecated, Errors, and Markers) is "WooCommerce Code Reference". This makes it annoying to use the site with multiple tabs.

Screenshot Before:

2022-03-16-before
(click for larger image)

Screenshot After:

2022-03-16-after
(click for larger image)

Changes

I changed the code to prepend the name of the node to the document title. The reason for prepending is so that you can see the name when you have a tab view similar to mine. (See screenshots.)

(New part) Old TitleURL
Global Namespace | WooCommerce Code Reference .../namespaces/default.html
WC_Queue_Interface | WooCommerce Code Reference .../classes/WC-Queue-Interface.html
Classes | WooCommerce Code Reference .../packages/WooCommerce-Classes.html
WC_Abstract_Order Class | WooCommerce Code Reference .../classes/WC-Abstract-Order.html
class-wc-queue-interface.php | WooCommerce Code Reference .../files/woocommerce-includes-interfaces
-class-wc-queue-interface.html
WooCommerce Code Reference (no change) .../index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant