alex2k5

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Genesis 2.0 Footer Hook Method Question #64842

    alex2k5
    Participant
    Post count: 28

    Figured it out. Needed to alter the hook order to fire before the genesis_entry_footer_markup_close function, which is 15.

    add_action( 'genesis_entry_footer', 'post_taxonomy_filter', 14);

    That puts things inside the <footer></footer> block, after the default post-meta, but before </footer>.

    in reply to: First Genesis Site Live #31725

    alex2k5
    Participant
    Post count: 28

    Looks very good. Why did you put it in a sub domain? And what theme did you use?

    Subdomain – because we were migrating from another cms which was in root, needed to be able to direct old to new. Easier this way.

    Appears he built it from the Sample theme. Very nicely done.

    Yes, correct. Started with sample theme, built it out from there. Once I got a hold of the themes associated with Genesis and realized most were just altered templates to include additional widget areas, I figured I could do that myself if needed. For now I’ve decided not to do even that, just use the pagination of default view with some tweaks to image display. That is similar to what we had before on other CMS, so it transitions well.

    in reply to: add div parallel with breadcrumbs div #20916

    alex2k5
    Participant
    Post count: 28

    I looked at that too, completely missed the prefix line. I should be able to add it into prefix/suffix accordingly. Thanks a lot!

    in reply to: Add content box after post-meta #17503

    alex2k5
    Participant
    Post count: 28

    I think I actually got it, right before you posted that. I added 100 to the end of the line, I saw something mentioning ordering, didn’t/don’t fully quite get it yet, but figured I’d try it out, did the trick.

    add_action('genesis_after_post_content','functionname',100);

    Now I just need to go research why that worked, what it did fully.

    I have the site blocked to all but my IP with a construction message because it’s in development, but if you want to take a look, LMK your IP if you are comfortable with that. Thanks!

    in reply to: Add content box after post-meta #17495

    alex2k5
    Participant
    Post count: 28

    Directly after the post-meta div. Which comes after the post_content area. When i hook it into genesis_after_post_content, I get

    content
    new data
    post-mea

    I want

    content
    post-meta
    new data

    Thanks.

    in reply to: If statement to check if more than one image attached #17147

    alex2k5
    Participant
    Post count: 28

    I got this sorted, thanks.

    in reply to: bbPress2 BBCode & Content Limiting #17103

    alex2k5
    Participant
    Post count: 28

    Figured it out. The excerpt, and even that custom code you linked to, strips out shortcode before processing. In that custom code you linked to, commenting out

    //$text = strip_shortcodes( $text );

    Gets the desired result. I may run into issues later if I start using shortcode early on in the post content, but for now, seems to do the trick.

    Thanks for the help!

    in reply to: If statement to check if more than one image attached #17081

    alex2k5
    Participant
    Post count: 28

    Code isn’t parsing correctly, will try again.

    add_action('genesis_after_post_content','gogallery', 0) ;
    function gogallery() {
    if (is_singular()) {
    $attachments34 = get_children(
    array(
    'post_type' => 'attachment',
    'post_parent' => $post->ID
    ));
    if(count($attachments34) > 1) {
    echo 'hello';
    }
    }
    }

    in reply to: bbPress2 BBCode & Content Limiting #16955

    alex2k5
    Participant
    Post count: 28

    I did find and try that option you posted earlier, adding [B] and [URL] and variants to the ones there, but it did not work.

    I will look at the options in your link now.

    Thanks a lot, appreciate the quick responses.

    in reply to: bbPress2 BBCode & Content Limiting #16922

    alex2k5
    Participant
    Post count: 28

    Ahh, so it’s the plugin then. Is there a way using hooks to tell genesis or the genesis plugin to process the html using that bbcode plugin before running it’s sanitizing process?

    in reply to: bbPress2 BBCode & Content Limiting #16909

    alex2k5
    Participant
    Post count: 28

    In a default situation, does it strip out the text between opening and closing HTML tags as well? Or just the HTML within brackets?

    For many of the blocked layouts, using the more tag won’t work. They only work well when every block is roughly the same dimensions. Our text content, even with the more tag, is different per post. That’s why I wanted to use the limiter. I don’t prefer, but can live with HTML being stripped. However, the inner text of the HTML tags need to show up or else the teaser text is unusable.

    I am in the process of migrating to WordPress from another CMS system, so I have a lot of pre-existing content not created with these features in mind. Trying to make it work within the Genesis framework as much as I can.

    Thanks for the reply.

Viewing 11 posts - 1 through 11 (of 11 total)