WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WPShower's "Imbalance 2" customizations (10 posts)

  1. Teratoma
    Member
    Posted 2 years ago #

    I'm attempting something that's just a little outside my skillset - I keep making a mess of things.

    This is a Pinterest clone theme but I am excited to be using it to create multiple boards/galleries by category. My end goal is being able to send relevant (read: censored) collections of my work to prospective clients without them being able to stumble across something outside of the safety-zone I determine for them. (A sleazy punk rock band needing cd packaging will get to see a different set of images than the christian bowling team who needs a logo) But enough about that. I actually have that part figured out.

    This theme displays a short preview of the code you include, but all links and formatting are removed in the preview. I'd like to be able to use html/php/shortcodes here. Can someone tell me how? This (I believe) is the relevant CSS:

    #boxes { margin-top: 40px; }
    .box { width: 210px; margin-bottom: 70px; color: #636363; }
    .box .rel { position: relative; }
    .box .rel p { margin: 0; }
    .box .texts { position: absolute; top: -20px; left: -20px; width: 210px; color: #fff; z-index: 200; opacity: 0; filter: alpha(opacity=0); }
    .box .texts .categories a, .box .texts a, .box .texts .posted, .box .texts .posted a { color: #fff; }
    .box .texts .transparent img { opacity: 0.1; filter: alpha(opacity=10); }
    .box .texts .abs { position: absolute; top: 0; }
    .box .categories { padding-bottom: 10px; }
    .box .categories a, .box .posted a { color: #a1a1a1; }
    .box h1 { margin: 0; padding-bottom: 10px; font-size: 16px; }
    .box h1 a { color: #333; }
    .box .posted { padding-top: 10px; color: #a1a1a1; }
    .box img { display: block; }

    One more thing. Is there a way to make "sticky" posts maintain their (left side) position when viewing by category?

    I am sure these are both pretty simple, I'm just hitting a wall. Implementing these customizations would enable me to get around the themes lack of widget/sidebar support, and to customize each "board" with some info and relevant links.

    http://pins.kevinbyrd.co/boards/wpshower/

    Thanks!

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    As you are using a commercial theme, you need to seek support from the theme's vendors.
    http://wpshower.com/forums

  3. Teratoma
    Member
    Posted 2 years ago #

    Sorry if I broke the rules. I did post over there, but figured since it was a free theme I could find help here quicker.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    We do not support premium themes. It is not our place to keep theme vendors in business or deprive them of any income that they may derive from support services.

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    'imbalance-2' seems to be a free GPL theme - I just downloaded it.

    but all links and formatting are removed in the preview. I'd like to be able to use html/php/shortcodes here

    that possibly means that the theme is using the_excerpt() in the front page template - actually in loop.php;

    try to replace that with the_content() and use the 'more tag' to limit what is shown on the front page, or control the length of your posts in any other way.

    http://codex.wordpress.org/Function_Reference/the_excerpt

    might need further adjustments; particular for use of php you will need to use a plugin.

  6. Teratoma
    Member
    Posted 2 years ago #

    I tried using the_content() but it displays the images as full-sized. Is there a way I can edit the_excerpt() so that it maintains the thumbnail, but includes the text properties of the_content() ?

    What about making stickies maintain their "top" position in category view?

    Thanks!

  7. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    it displays the images as full-sized

    the images are post-tumbnails and should not get influencend whether you use the_exerpt or the_content, unless you have images directly in your post which would naturally get output by the_content, but additionally to the thumbnail;
    there are ways to strip images from the content.

    Is there a way I can edit the_excerpt() so that it ... includes the text properties ... ?

    you can type a manual exerpt - if the field does not show below the post editor window, click 'screen options' near the top right and tick 'excerpt'

    re: sticky in category archive:
    (search result only)
    http://wordpress.stackexchange.com/questions/14066/show-sticky-posts-in-category-archive
    http://wordpress.org/support/topic/custom-sticky-post-for-each-category?replies=10

  8. Teratoma
    Member
    Posted 2 years ago #

    Alchymyth, your help is greatly appreciated! I am half-way there with goals. Manually inputting the excerpt will let me create a mock 'sidebar' or two, with information and/or links - with images and formatting pertinent to the category/board it's included in.

    "Making them sticky" can be accomplished by adjusting the date of the 'sidebar' posts every time I add something to a category. Not the ideal workaround, but for the amount of activity I'm anticipating it's not that much extra work.

    I do intend to figure these two out properly though, and when I do, I'll return with the solutions. I spent the evening researching this and came to the conclusion that this isn't necessarily theme-specific. A ton of people have started threads all over the durn innerwebs with various versions of what I think to be the same question:

    How can I put [simple paypal shopping cart's] shortcodes in [fill-in-the-blank]?

    I found lots of discussion, but no solutions. My suspicion is that if these people are looking for a shopping cart, they're willing to pay for another solution before spending all kinds of time trying to make free stuff work.

    BUT NOT ME! I'll keep track of this until I have something to update the thread with. For now I can get tons of use out of this spectacular theme (and spectacular WordPress!) while I try out different solutions. I'LL BE BACK!

  9. ledbelly
    Member
    Posted 2 years ago #

    I use this one, and although it looks like crap (adds an ugly and too-big options box to post editors) it works like a dream - with category/tag pages and all!

    http://wordpress.org/extend/plugins/astickypostorderer/

  10. Teratoma
    Member
    Posted 2 years ago #

    @Ledbelly - thanks for the help. Though what I'm trying to do is make the posts sticky when viewing category pages.

    Your suggestion got me looking around though, and I found WP Category Sticky Posts Which has done the trick.

    Thanks for your help!
    http://pins.kevinbyrd.co/boards/minecraft

Topic Closed

This topic has been closed to new replies.

About this Topic