Forum Replies Created
-
AuthorPosts
-
Robert FalkowitzParticipant
Thanks, Victor. Adding 'unsafe-inline' to 'self' does the trick.
Robert FalkowitzParticipantThe problem is in getting the output concerning the matching events to appear only once, on the last page of the output, but before the bit at the bottom of the page that allows the visitor to select the page of output to which to jump.
For example, if there are 6 pages of output for a search and you are on the 6th page, here is what I would like to display:
<the last post/page should appear here>
<the list of matching events should appear here>
<and then finally, the page selector options, such as:>
« Previous Page Page 1 Page 2 Page 3 Page 4 … Page 6 Next Page »
With all the hooks I tried (genesis_entry_content, genesis_after_loop, genesis_before_loop), either the output for the matching events appears on every page, or after the page selector options.
Is there a hook that does what I want, or do I have to build the logic into the search.php that calculates how many pages of output there will be and then displays the event output only on the last page, using the genesis_entry_content hook?
Robert FalkowitzParticipantThanks for this, Brad. I don't think the logic of those solutions, based on checking custom fields with the post table, will apply to my case.
Still looking...Robert FalkowitzParticipantThank you for your answer. I don't think I want to move the entire page, wholesale, down farther. All I want is for the browser to display correctly the page when it jumps to an anchor from some link. Otherwise, all displays correctly.
Robert FalkowitzParticipantThank you for this, braddalton. It wasn't quite what I wanted, as it is based on categories, not post types, but I figured out how to get the post type.
Robert FalkowitzParticipantYes, it is resolved.
Suppose you want 3 posts side by side. You need to select the widget 3 times. In the 2nd and 3rd widgets, you should configure them to not repeat any posts that have already been displayed. I suppose there is a limit to how many can be displayed side by side, but you just have to try it. -
AuthorPosts