• A couple of features that would be very useful:

    – Import Post into specific category
    – Turn off that Tumblr Crosspostr is automatically set to yes, when
    post is created automatically (in case you just want to import)
    – Change Image Position (Top / Buttom)
    – Add specific code before and after text / image in case you’re just
    importing from Tumblr

    In my case for example I’m trying to get the image and text in the post content to specific postitions:

    [vc_row][vc_column width=”1/2″][mk_image src=”——–Image Source——–” image_width=”500″ image_height=”500″ crop=”true” lightbox=”false” frame_style=”border_shadow” target=”_self” caption_location=”inside-image” align=”center” margin_bottom=”10″][/vc_column][vc_column width=”1/2″][mk_padding_divider size=”40″][vc_column_text disable_pattern=”true” align=”left” margin_bottom=”0″]——–Post Text——–[/vc_column_text][/vc_column][/vc_row]

    I don’t know if that’s somehow possbile, but it would be quite awesome!

    It would look like this:
    Code before Image: xxxxxx
    Code after Image: xxxxxx
    Code before Text: xxxxxx
    Code after Text: xxxxxx

    Thanks for developing!

    https://www.ads-software.com/plugins/tumblr-crosspostr/

Viewing 1 replies (of 1 total)
  • Plugin Author Meitar

    (@meitar)

    Can you explain what you mean by “just want to import” and why someone would want to do that?

    Tumblr doesn’t support categories, only tags, so importing to a specific category requires that someone pre-select a category to import into. However, this is not functionally different than tags, so if you wanted to create posts on Tumblr that would be “imported into a specific category,” you could just tag those posts on Tumblr with that special category.

    Moreover, all Tumblr posts in your WordPress blog that are imported contain a custom field that hints at the fact they were created from Tumblr, so in your Theme templates you could use a query such as

    <?php
    $tumblr_posts = get_posts(array('meta_key' => 'tumblr_post_id'));
    // Do something with $tumblr_posts in your Theme.

    to showcase only your Tumblr posts in a specific way.

    Same question for the rest of your suggested features. It is important to me that Tumblr Crosspostr not change the content of the posts as much as possible. It is not a content management tool, it is a synchronization bridge. Numerous other solutions already exist for massaging post content as you see fit.

    For what it’s worth, if you are doing a one-time import and just need to make a batch change to your posts for your specific use case, you can probably use a series of REPLACE statements. For instance, a MySQL query to find all photo posts imported by Tumblr Crosspostr (as of this writing, which is version 0.7.8.2) and then prepend some text to the beginning of them looks something like this:

    UPDATE wp_posts SET post_content =
        REPLACE(post_content, post_content, CONCAT('your_wp_content_before_images', post_content))
        WHERE post_content REGEXP '^<img src="'
            AND ID in (
                SELECT post_id FROM wp_postmeta WHERE meta_key='tumblr_post_id'
             )

    (Obviously, replace wp_ with your table prefix and replace your_wp_content_before_images with whatever content you want to prepend.)

    I guess I’m just not sure what the point of putting display-level logic into this plugin is. If you want to change how your blog looks, well, that’s what your theme code is for.

Viewing 1 replies (of 1 total)
  • The topic ‘Feature Suggestions’ is closed to new replies.