I am utilizing WordPress 3.5.1 with a modified twentytwelve theme.
My principal website construction relies on the Clean Slider plugin (jQuery Cycle).
I’ve Pages that comprise solely a shortcode (for instance, [smoothslider id='4']
) to show Posts assigned to a slider. After I do a search on the positioning it returns end result for particular person posts solely (and never for pages, in fact). This isn’t what I would like as there isn’t a slider anymore. These posts aren’t imagined to be displayed individually.
What I want to do is as an alternative of getting the outcomes with hyperlinks to the one posts, have end result hyperlinks to the mum or dad web page. However posts don’t have any dad and mom so it will should be taken from the menu_order (?) and set the outcomes to these URLs.
Instance
MENU:
- CAR [Page – Redirect to first child: car-1]
- car-1 [Page – Content: shortcode with “sliderid=1”]
- car-1a [Post – attached to sliderid=1 – Content: text+img]
- car-1b [Post – attached to sliderid=1 – Content: text+img]
- car-1c [Post – attached to sliderid=1 – Content: text+img]
- automotive 2 [Page – Content: shortcode with “sliderid=2”]
- car-2a [Post – attached to sliderid=2 – Content: text+img]
- car-2b [Post – attached to sliderid=2 – Content: text+img]
- car-1 [Page – Content: shortcode with “sliderid=1”]
Search outcomes for “automotive”:
- Outcomes I get:
- instance.com/car-1a,
- instance.com/car-1b,
- instance.com/car-2a
- and so on.
- Outcomes I would like:
- instance.com/CAR/car-1,
- instance.com/CAR/car-2,
- and so on.