WordPress.org

Ready to get started?Download WordPress

Forums

WP Boxer
in line editing possible for content? (5 posts)

  1. donnatalarico
    Member
    Posted 1 year ago #

    Hi there. I love the plug-in. I run an online literary magazine and I am setting up a few boxes for our masthead page so the bios there look uniform, professional and pretty. We also have regular contributors, and I've started to create a box for each one that would appear at the very bottom of their story; until now, I've manually copied and pasted in some sloppy HTML for a shaded box I created. So - that's all fine. But one of the biggest reasons I thought this would help me in may not be possible...

    Each month we also have six to seven pieces of creative nonfiction; these authors change each month and we rarely (although it does happen) accept stories form a person more than once. So, rather than hand-code a bio block at the end of each post through the Text tab, each month - very time consuming and they all always look different because I have to change the padding (again, my coding skill are almost zero, hence the love of this plug-in), I was hoping that this plug-in would also allow for code to be inserted into the individual post, where form there I could just change the headline, photo and content.

    The reason I had this idea was because I work at a college and our CMS has something called a "snippet" - a piece of predefined code that can be added into a page; we use this to help our campus users make things look nicer, which in essence really reminds me of this app. I just handle content, so I did not create the snippets at work.

    I'm sorry for the long-winded question/post, but I wanted to make sure I explained this fully. Basically, I am wondering if there is a quicker and easier way to make a box set for one-time use cases rather than create an individual set for each author on each page every single time.

    I hope this all makes sense.

    The website is HippocampusMagazine.com. My Feb. issue is late because I've been tooling around with this new plug-in instead of posting the rest of the articles, but when I realized that only the short codes can be added to the post, and not code itself, I realized it can't do what I thought it could. (Def. still great for me to have for the regular authors and masthead page.)

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

  2. Coding Our Web
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Donna,

    If I understand you correctly, what you want is very well possible with Boxer. Just create a separate content block for every author. Such a content block consists of a title (=headline), content (=bio) and an image (=photo).After that it is just a matter of adding a shortcode to the individual posts. Something like

    [wpbp_blocks id="1234"]

    You should never have to copy HTML code between posts!!!
    Let me know if this is in any way clear ;-)

    Cheers,
    Mark

  3. donnatalarico
    Member
    Posted 1 year ago #

    Hi,

    Thanks for your reply. I have created content blocks for all of the regular staff writers that have recurring columns each month. There are about a dozen of these.

    What I am having an issue with is coming up with a more efficient way of making a bio look pretty for our one-time contributors that appear in each new issue.

    Does that make sense? Over time, I would end up having to create 100s of blocks individually and this doesn't save time; the beauty in your app is that it makes it easy to reuse snippets of content over and over. I was hoping there'd be a way to make a template that can be customized per post - such as a custom field where I can plug in author, photo, content and it appears within the body of the post. I understand that this may not be possible with this plug-in, but I thought I would ask. I really don't want to make a new content block for one-time use on every single article we publish.

    Thanks again for your help.

    Perhaps I am not explaining it as well through email.

  4. Coding Our Web
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    You could alter the template which is used for the single posts (stories) and add something like:

    <?php $custom_fields = get_post_custom(); ?>
    <div class="author_profile">
        <a href="#" alt="" title="<?php echo $custom_fields["author_name"][0]; ?>"><?php echo $custom_fields["author_name"][0]; ?></a>
        <p><?php echo $custom_fields["author_bio"][0]; ?></p>
        <figure>
            <img src="<?php echo $custom_fields["author_photo"][0]; ?>" alt="<?php echo $custom_fields["author_name"][0]; ?>">
        </figure>
    </div>

    Keep in mind this is only pseudo code and it contains no styling at all. That would be up to you. Also you would have to manually specify the 3 custom fields on each and every story.

  5. donnatalarico
    Member
    Posted 1 year ago #

    Thanks for your suggestion! I'll give that a try; I'm learning by doing with the template editing, but I think I can make this work. I have no issue filling in the fields each time; that will be less than what I do now.

    I appreciate the work around!

    I will use the plug-in as is in most cases - have many ideas for it! It's just the author bios that I needed some extra help with .

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.