wp-shortcake / shortcake

Shortcake makes using WordPress shortcodes a piece of cake.
GNU General Public License v2.0
664 stars 143 forks source link

"Insert/edit link" field #637

Open szepeviktor opened 8 years ago

szepeviktor commented 8 years ago

Could we have an Insert/edit link field type which makes it easy to select posts/pages.

insert-link-modal

It would return the URL.

szepeviktor commented 8 years ago

Or just use post_select?

goldenapples commented 7 years ago

I'm curious what the use case is here. A post_select field would allow you to choose a post to link to and return the ID. Is there a case where returning the post URL would be better than the ID? It seems like in any case I can think of, the post ID would give you better flexibility.

szepeviktor commented 7 years ago

Insert/edit link is the fastest way to insert a post or page URL.

Although I agree this is redundant which I read one more feature.

szepeviktor commented 7 years ago

Insert/edit link sets URL, anchor text and target in one go.