Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the document title more useful #18

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

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