Hi
When I try install head-tags, I get an error.
I don’t use the mars-theme
i use my own theme!
screenshoot_error|665x500
Hi
When I try install head-tags, I get an error.
I don’t use the mars-theme
i use my own theme!
Hi @prainua,
Please try the following:
Verify that you’re executing npm install @frontity/head-tags
from the root of a frontity project
mac-plasty
folder a frontity project (I mean, the result of npx frontity create mac-plasty
which is a folder containing a frontity.settings.js
) ?If you’re getting this error from your root of your frontity project then you have a permissions issue related to NPM. This can be provoked for several reasons depending on the user you’re logged in, the permissions set in that folder, and so on (search in Google for: npm install missing write access or npm install ENOENT
rm -rf node_modules && rm -rf package-lock.json && npm install
Let us know how it goes
What do you plan to build with Frontity?
Thanks
and how clean up head ?)
i add in functions.php
remove_action( 'wp_head', 'rsd_link' );
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'wlwmanifest_link' );
remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 );
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
and it does not work
Hi @prainua,
What do you mean by that? What are you trying to achieve?
The @frontity/head-tags package in combination with REST API – Head Tags WordPress plugin allows you to directly add to your HTML the header tags defined in your WP installation
You can find more info about this here → Frontity release: REST API - Head Tags plugin and package
What do you plan to build with Frontity?
I want to remove from head this tags
HI @prainua,
In order to help you better, can you provide?
head-tags compatible with yoast 14.0.4?