Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I concur with sawtelle. I just changed my post_content and post_title fields to longblob and blob respectively – exported,imported and changed them back and every thing seems display correctly.

    If anyone is interested
    Before Export:
    ALTER TABLE wp_posts
    CHANGE post_content post_content LONGBLOB NOT NULL ,
    CHANGE post_title post_title BLOB NOT NULL

    and After Import:
    ALTER TABLE wp_posts
    CHANGE post_content post_content LONGTEXT NOT NULL ,
    CHANGE post_title post_title TEXT NOT NULL

    There may be other fields that need changing but those were the two that I needed.

    Adi

    Any resolution on this topic? I’m currently trying to move servers and am being faced with a screen full of hebrew mixed with garbled characters.

    Thread Starter adieyal

    (@adieyal)

    Thanks for the reply Otto42

    Thread Starter adieyal

    (@adieyal)

    I’m writing a plugin, say I want a product management system built into wordpress. I might have a page prodlist.php which will display all my products, not unlike the manage->post/page in the standard wordpress admin application. Next to each product, I have an edit button which, when pressed, lets me edit the product details. The edit page is say prodedit.php, is installed as a submenu item in the admin application and can be found by following the following link: mydomain.com/wp-admin/admin.php?page=foo. It would make sense to me that the wordpress developers would have written a wrapper function such as get_menu_url(“foo”) which would create the link above.

    I don’t think that get_bloginfo helps as it gives blog specific content and does not deal with the admin application.

    This is not a serious issue as I can simply hardcode the link but a level of abstraction would be nice.

    Thanks for your responses so far.

    Thread Starter adieyal

    (@adieyal)

    thanks for the reply but I think you misunderstood me. I’ve already installed both a.php and b.php as menu items. I just want to create an html link on a.php that, when clicked, loads up b.php. It’s easy enough to do the following

    Link but I was wondering if there was a wrapper function for creating the url.

    Thread Starter adieyal

    (@adieyal)

    Thanks for the reply. I actually searched around and found a book review plugin (https://www.viewfinderdesign.co.uk/archive/category/downloads/) that I used as a template for what I wanted to do.

    Adi

Viewing 6 replies - 1 through 6 (of 6 total)