Forum Replies Created

Viewing 15 replies - 16 through 30 (of 42 total)
  • Thread Starter elarpa

    (@elarpa)

    Thanks.

    I see now it it because you copy ‘normal’ posts with inserted images.
    I copy pages constructed with “Page Builder” where the images are inserted in a different way (I am not sure how).

    Thread Starter elarpa

    (@elarpa)

    Thanks for your input, both of you.

    I have in fact been using a WordPress copy tool, but it copies the IDs of the pictures and therefore does not get the right pictures along. Hence the need to align IDs.

    As per your suggestion I have now also tried the build-in import/export function and it does the same: It imports the image IDs with the result that all the wrong images are presented on the posts.

    I don’t understand how you could import without any issues… I do not get the right pictures when using the export/import function. Maybe because the image ID are already in use on that subsite. But I have also tried where the IDs are not in use – then they just get imported without images (empty image boxes)…

    I guess I will have to try to find a developer. Thanks again for your input and suggestions.

    Thread Starter elarpa

    (@elarpa)

    Mainly I use a Python3 import function on each of the subsites (to import from a 3rd party website). And if the post-IDs are not alike then the imported pictures (in a shared media folder) won’t show. I also have a post copy function, but that gives the same result.

    I have tried to get the post-ID to the same level on two sites – and then the import works. But it was hard enough to get it up to same level op two sites – leave alone trying to get all 7 sites aligned…

    Media Sync has worked just fine to get all the libraries syncronized, but it doesn’t syncronize the post-IDs – and therefore the pictures only show on the 1st import – not on the others…

    Thread Starter elarpa

    (@elarpa)

    I found this little code:

    global $post; 
    $post = get_post( $ID, OBJECT );
    setup_postdata( $post );
    
    //Do something
    
    wp_reset_postdata();

    Might I just change the second line? e.g.:

    global $post; 
    $post = 40000;
    setup_postdata( $post );

    And where to insert it? In custom CSS ?

    Thread Starter elarpa

    (@elarpa)

    Hi erolsk8,

    Thank you very much for your detailed answer. Respect!

    By image ID I mean “wp-image-38263” that is being inserted into posts. Example: NEW POST>ADD MEDIA>UPLOAD FILES>SELECT FILES>OPEN>INSERT INTO POST:
    <img src="https://autentical.nl/wp-content/uploads/sites/42/2020/11/Vampire_Anarchistica_90_Autentical.png" alt="" width="209" height="81" />

    Why? Because when I import or copy posts from one subsite to another subsite all images are copied with that number (not with the URL). So when they do not co-incide between sites I get different images (or no images) on the copied posts. That is my problem because I copy and import a lot of posts between subsites.

    All my subsites use the same folder for image files, so they have exactly the same image files available. E.g. Autentical.nl is subsite 46, but as you can see from the above link it links to the image file of subsite 42 – just like all the other subsites.

    So I use Media Sync individually on each of the sites, so that they import any image from /wp-content/uploads/sites/42/ into the individual media library of each subsite. In theory they should all have the same number of images in the media library and they should all asign the same number to the next new image inserted. But they dont!

    After syncronizing all subsites (with Media Sync) I get these numbers when inserting a new image:
    Autentical.com: wp-image-37915
    Autentical.de : wp-image-38222
    Autentical.nl: wp-image-38266
    Autentical.it: wp-image-38158
    Autentical.dk: wp-image-37953
    Autentical.es: wp-image-36904

    And this means that I cannot copy or import anything without loosing the images….

    I guess it could be interesting to force a specific number, e.g. starting all sites from wp-image-40000 and counting from there (instead of counting from the present different numbers).

    I just realized now while writing this that new posts get IDs in the same range, e.g. post=38281. That explains why Media Sync is not enough to align IDs. The different number of posts make up the difference…. That is why!

    But is there a way to easily force the count to start from e.g. 40000 ?

    Thanks again for your effort. Much appreciated.

    /Michael

    • This reply was modified 4 years, 3 months ago by elarpa.

    I have used it for several months for a multisite installation. It works fine.

    My only problem is that although everything syncronized between all the subsites new images get different image IDs on each subsite, which makes it impossible to copy posts from site to site….

    Does anyone know how to get the same image IDs for new images across subsites?

    Thread Starter elarpa

    (@elarpa)

    Thanks.

    I figured out the problem:

    It was on ‘accessable mode’ (I had no idea that existed).
    When I clicked ‘deactivate accessable mode’ it came back to the arrow down layout.

    Thread Starter elarpa

    (@elarpa)

    OK, fair enough.

    Just one question: Why does ”Don’t load a theme.” not cancel the design build into the plugin so that the standard link design of the theme would work?

    Thread Starter elarpa

    (@elarpa)

    Yes, it works. Thank you.

    Now just the question about how I can use the link design of the theme?

    I tried already ” Don’t load a theme.” and “Allow HTML in tag description”, but this does not bring back the theme link design….

    Please let me know how I can get the default theme link design for the tags. Thank you in advance.

    PS! I don’t need the Tag Group name – just the tags of the tag group.

    Thread Starter elarpa

    (@elarpa)

    Thanks a lot. I will try this.

    But if it works I will want to display the tags in my theme’s style (the theme link style). Isn’t that possible with the plugin?

    Thread Starter elarpa

    (@elarpa)

    1) I got the tag groups translated. Thanks.

    2) I have tested your application example no. 2 and it also only works on …/category/… pages – not on …/tag/… pages.

    Thread Starter elarpa

    (@elarpa)

    Hi Chris,

    1) “…translated tag group…” you say. But I cannot see anywhere tag groups can be translated… And if I create extra tag groups they will all appear on all languages. Please explain how to translate tag groups.

    2) My real desire is to show only the relevant tags for each destination (‘category’). I managed to set it up on …/category/… pages (as you may see on e.g. https://autentical.com/category/portugal/), but not on …/tag/… pages. I have noticed that you have undocumented functionality for the categories in the plugin… Is there any way to use this plugin to show only tags relevant to the category – even when clicking the tag and ending up on the …/tag/… page?

    Thank you in advance for your help.

    Thread Starter elarpa

    (@elarpa)

    Hi Chris,

    Thanks for responding so quickly.

    1. With a shortcode I see the same. You can see it here:

    2. https://autentical.com/test/

    3. I have 3 tag groups – I also tried including 1,2,3 – and the tag groups come up correctly. But still without any tags below…

    BUT: I now found out that it is a language issue… (I use WPML). When publishing on the German site the tags come up.

    So the challenge is now: How do I ONLY display German tag groups on the German site and English tag groups on the English site – when the sidebar.php is commom for all languages?

    Thanks again for your help.

    Thread Starter elarpa

    (@elarpa)

    Yes, now it is there. I created the counter again from scratch.
    The old one had disappeared and was nowhere to find….

    Thread Starter elarpa

    (@elarpa)

    After shifting to SSL the counter number has dissappeared:

    Edit Counter Add New Counter
    Counter Design Template
    ADD COUNTER NUMBER

    Add New Counterbox
    Delete All
    Counter Number Shortcode
    Use below shortcode in any Page/Post to publish your Colorbox
    [COUNTER_NUMBER id=2559]

    It is gone… No error message – just gone. Empty. The counter title is there, but when I want to edit it there is nothing to edit…

    Isn’t the plugin compatible with SSL?

Viewing 15 replies - 16 through 30 (of 42 total)