Vi Wickam
Forum Replies Created
-
AuthorPosts
-
Hi, Paolo.
Since reporting this, I’ve installed the Multi-Rating extension. It seems the problem is no longer showing on my iPad(s). However, I cannot tell if it’s been fixed, or if the Multi-Rating extension addressed the issue.
Mike
Hi, Paolo.
Is there an update for this issue?
Mike
I may see the problem. The function referenced by the shortcode looks like produces output using echo. If true, this is problematic:
From http://codex.wordpress.org/Function_Reference/add_shortcode
Note that the function called by the shortcode should never produce output of any kind. Shortcode functions should return the text that is to be used to replace the shortcode. Producing the output directly will lead to unexpected results. This is similar to the way filter functions should behave, in that they should not produce expected side effects from the call, since you cannot control when and where they are called from.
>>You could use the shortcode …
Well, that sort of works. The shortcode expands as expected, but it’s happening out of sequence.
I’ve set the title for the text area to
“Change Search Location”
And added the shortcode. The shortcode expands, but is unexpectedly showing BEFORE the title.
I tried adding a <div> </div> around the shortcode, but the shortcode is expanding before the <div>.
I also tried moving the title into the text area, but got a similar result: shortcode expands first, then the hand-coded <h3> title.
Any thoughts?
Again, using Genesis here.
>>What menu items? You could alwasy add them as custom menu items?
Thanks. That will work.
>>You could use the shortcode …
Thanks. That will work, too.
Awesome. Thanks for your prompt response!
Mike
>>adding a very high number as priority (almost) always works in placing the new item as the last in the menu
That worked. Thanks. (I was on the right track, but didn’t try a high-enough priority.)
A related question:
How do I get GeoDirectory menu items to show in a widget area, instead of — or in addition to — the Primary Navigation Menu location?
FYI, I’m using a Genesis theme (Minimum Pro, if it matters).
Thanks!
Mike
-
AuthorPosts