Forum Replies Created
-
AuthorPosts
-
December 5, 2013 at 1:15 pm in reply to: Next Page Pagination links do not work with genesis_custom_loop #77264
[email protected]
MemberOk, did some more digging and I figured it out.
Inside of your custom loop, you need to call global $paged and set 'paged' => $paged in your $ args.so the custom loop function ends up looking like this:
function uthsc_listserv_custom_loop() { global $paged; $args = array( 'thumb' => true, 'taxonomy' => 'listserv', 'post_type' => 'announcement', 'paged' => $paged, ); return genesis_custom_loop( $args ); }
BAM! It works. Cool feature bro.
December 5, 2013 at 1:03 pm in reply to: Next Page Pagination links do not work with genesis_custom_loop #77262[email protected]
MemberAlso, just a note: notice In my first example I removed the loop and added my own and, in the second example, I filtered it. I get the same problem with both methods.
[email protected]
MemberHey, Thanks for the response.
The site is under development with a private IP so I can't share it. However, I'm the answer I'm looking for shouldn't be site specific. I was just having some trouble finding documentation about the proper way to create custom search forms. I'm sure this is something genesis makes easy. Any tips or links?
[email protected]
Member@tproud, it may be that installing the generate box plugin screws up the widget functionality. I haven't really gone in and looked at the code yet but, considering how simple it should be, I'm surprised at how janky and it is. The official website for the plugin (http://generatebox.com/) provides absolutely no documentation or even general information which is a pretty good indication that we should probably avoid it all together. It would be nice to get some feedback from the developers.
[email protected]
MemberWell, it looks like you've successfully added it but here's what I've got so far.
By default, it seems that the Generate Box only appears on the feed pages; not static pages - even if you have one set as your home page. Of course you have to add widgets to it in the Widgets area before it shows up.
You can download the generate box plugin to add some options but it doesn't provide an option to add it to any page.
If you do want to display the generate box to a static page, your best bet is probably going to be look up the generate box function and hook it in to your theme in your functions.php file or a custom template file.
Depending on whether or not I end up using it, I'll try to make sure to add the code I use here (Since the complete lack of documentation on the generate box isn't going to help anyone very much.)[email protected]
MemberThanks, but unfortunately the site is on a private development server and I am unable to share it. Is there something I need to do to be able add widgets to the generate box? Why does it appear in the widgets area if you have to install a plugin? and why does adding widgets to it seem to have no effect? I feel like these are reasonable questions that should be included in the generate box documentation.
[email protected]
MemberOk, so I've discovered that the "Generate Box" requires a plugin. Even though it appears in the widgets area in the admin panel, it will not appear on the site until the plugin is installed. Now that I have the plugin installed, it appears on the homepage but it isn't widgetizable. even if I add widgets to it, it just stays black. So far, I haven't had much luck finding any useful documentation about it.
[email protected]
MemberYeah, but as with most Genesis documentation, it's vague and uninformative; it doesn't really provide any information about how to actually make it display. My problem is that, even when I drag widgets to the generate box on the widgets screen, it doesn't appear anywhere on my site.
[email protected]
MemberThis should be simple; add this to style.css:
#generate-box .wrap {
padding:0;
width:958px;
}This just gets rid of the padding inside of the box and bumps the image up width to compensate. Here's what it will look like. I tried it in firebug so it should work.
Now, not to hijack the thread, but the problem I'm having is how to get that widget in to the generate box. I'm trying to add the genesis slider to the generate box; I can add it to the default sidebar but if I add it to the generate box nothing happens. Any tricks or ideas for getting this to work?
-
AuthorPosts