msummers on "Link preservation"

ساخت وبلاگ

msummers
Member
Posted 10 hours ago #

I have a site with >50 pages. Almost every page has a unique sidebar created using text widgets which happen to contain links to other pages/files within the site. If a link changes (because of a path change, for example), each widget containing that link within the primary sidebar widget area must be manually adjusted! Is there any way to avoid this? Ideally, I would like to keep that link adjustment accessible to the (non-developer) administrative user (e.g., not buried in the functions.php file). Or am I stuck creating a long PHP switch block as a link shortcode (e.g., [link "products"])?

Hi!

One way I can think of would be creating a menu and use that menu with a custom menu widget instead of the text widget.

msummers
Member
Posted 7 minutes ago #

Jose - thanks for your reply! This is a good idea, but I don't see how to implement it with my site. Those sidebars have text, images, and multiple blocks of links like this -

text text text
link
link
link
image
link
text text

etc.

You can see the site at http://www.fielco.com. I'm thinking I may be stuck with my switch block, but I'm very open to other suggestions!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 365 تاريخ : دوشنبه 18 مرداد 1395 ساعت: 6:19