Site logo

Archived topic

Add link function won't include pages/posts when searching

22 replies · Started by WebbPlatsen on January 18, 2023

Viewing posts 1–15 of 23

When I create a link with "Add link"-function in Block editor, search function won't find any pages/posts when I start to type.
I will only get "Attachment" hits.
When I try this with one of my other GP-sites pages/posts will be found.
I also tried to switch to old Editor mode and "Add link"-function works fine.

I have disabled all plugins and even switched theme without success.
Do I miss something? 🙈

Hi there,

that is peculiar, what happens if you go to Settings > Permalinks and Click Save Changes to rebuild the Permalinks, then clear any cahces. Does it find the pages/posts now ?

Done without success.
Any special cache?

Its not a theme related thing, and we dont add any caching.

What block is it on ? Just the ordinary core text block ?

Yes, core text block.

Same issue if I use List-block or GP Headline-block.

How odd, i am not sure what would cause that, if you want to provide me an admin login i can take a look?

Of course.

Can i disable plugins and switch theme if needed ?

yes you can

I added TwentyTwenty and disabled all the plugins. And the link issue remains.

But in the Dashboard Admin Menu there is a Menu called: Links - what is that and where does it come from ?
As there is no child theme or plugins - i don't know how that can be there.

I have left the site with TwentyTwenty and no plugins so you can see.

No idea.
Nothing I have used and I have missed this 🙈
Table "wp_links" contains these items.

This seems to be a core function.

In "wp-admin" you got link-manager.php and some other link-*.php files.

yeah, i know its part of WP Core, but i haven't seen that in the admin on any recent sites.
Even the codex for it is really old lol

https://codex.wordpress.org/Links_Manager

Was this site built from an older site ?

yes, older.

As the problem remains with a WP Theme and no plugins, then i can only guess their could be an issue with the database, it could be some legacy code that is causing problems.

This archived topic is closed to new replies.