Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter angiepunkt

    (@angiepunkt)

    Hello! I followed the debugging steps 1-5, with no results.

    With the Query Monitor I am not sure, what I am supposed to see. Also I was not sure, if I should look at the query monitor in the backend or frontend of the post.
    Here both screenshots:
    https://server.happytree.wien/drive/d/s/ywlXDPbLfk65NkdgnriwX9P3fzfksCs4/MyIFPbHutdePYq4c2eoXRDofN20K0EtK-EbmAxHEwcws

    https://server.happytree.wien/drive/d/s/ywldnL1ejCtIdgugHEOFRuHJq7pLgWTl/ry5k_n69EKxS3EhCIo1OopnbbdZ6g-h2-Orlg3rgwcws

    Thank you for any ideas!
    Angie.

    I have the same problem. Thank you for looking into this. Angie.

    Thread Starter angiepunkt

    (@angiepunkt)

    Thank you! this helped a lot!
    angie.

    Thread Starter angiepunkt

    (@angiepunkt)

    Thank you!!

    Thread Starter angiepunkt

    (@angiepunkt)

    Problem solved. I just deleted the menu item and added it again. Now the class is gone.

    Thank you anyways.

    Thread Starter angiepunkt

    (@angiepunkt)

    Haha! That was almost too easy. Thank you for the great tip! I just deleted the item and added it again.
    A little bit like “Have you tried turning it off and on again?”

    Great, thank you!
    angie.

    Forum: Fixing WordPress
    In reply to: Clip-path with svg
    Thread Starter angiepunkt

    (@angiepunkt)

    Update:
    It worked with the wonderful support of Generatepress and this converter: https://yoksel.github.io/relative-clip-path/

    The code looks like this:

    <svg class="svg" width="0" height="0" style="position: absolute;">
      <clipPath id="clip-tropfen-c" clipPathUnits="objectBoundingBox"><path d="M0.616,0 c-0.322,0,-0.954,0.734,-0.391,0.952 c0.273,0.105,0.655,0.056,0.747,-0.317 C1,0.282,0.938,0,0.616,0"></path></clipPath>
    </svg>
    
    <div class="clipped"></div>
    .tropfen-c {
    	object-fit:cover;
    	clip-path:url (#clip-tropfen-c);
    }

    Best wishes! Angie.

    Forum: Fixing WordPress
    In reply to: Clip-path with svg
    Thread Starter angiepunkt

    (@angiepunkt)

    Hello George!
    Thanks for your patience and your quick reply!

    • I added the HTML. That worked in the meantime.
    • Now the images disappeared totally. I guess it’s not a wordpress-topic anymore, but about clip-path…
    • The images are in the content area.
    • The site is still in staging mode. I’m not really comfortable in sharing the credentials for the folder protection here.

      I will try to find a solution for the clip-path problem. If you have any ideas, that would be great, but I understand that it’s not quite possible in theory…

      Thank you anyway.
      If I find a solution I will report back!

      Angie.

    Bitte um ein Update. Ich sehe, das Update für das Plugin ist wieder normal zug?nglich. Bitte um eine kurze Info und Best?tigung hier, dass die Probleme beseitigt wurden.
    Was ist nun konkret zu tun? Einfach WP DSGVO Tools wieder aktivieren?
    Mich würde auch interessieren, wie der Schadcode aussieht, der in den Matomo-Code eingespeist wurde.
    danke, Angie.

    Thread Starter angiepunkt

    (@angiepunkt)

    Hello,
    Yes, these are my settings. Still, the “Only posts from same categories and tags” doesn’t have effect.
    There are posts showing, but they don’t match specifically the categories or tags.

    I also tried with and without “disable contextual matching”. But no effect.

    Thread Starter angiepunkt

    (@angiepunkt)

    Let me rephrase:

    So my initial settings were:
    – Only posts from categories and tags acticated
    – I NEVER had the Match all checkbox activated
    – match content checkbox was not activated.

    >> with these settings no related post displayed in this one post (well I didn’t check all 200 posts…)
    >> but this is what I don’t understand. It should display related posts with this! Because there are severals posts with the same tags and categories! But it doesn’t.

    Now I have the same settings like above, but activated the match content checkbox.
    >> It shows posts, but not the right ones! They don’t match any of the categories or tags.

    For this I still need a solution.

    Thank you, Angie.

    Thread Starter angiepunkt

    (@angiepunkt)

    Hello Ajay,
    [For your info: my mistake was that I didn’t view the post in the frontend… Thats why the output of the monitor was so limited.]

    Ok, with these two settings I get results on the post. So that’s a good first step. the case is this: without enabling the option “Match Content als well as Title” no posts are shown on this particular post.

    And: the “Only from same” (in my case category & tag, NOT matching all taxonomies) boxes don’t seem to have an effect at all.

    >> I fear my client won’t be happy with this, as it was the explicit wish, that the related posts only come from the same category or tag. And I still don’t understand, why no results are shown. The post has two categories and two tags activated. I looked it up, CRP should have much more than the 5 wished for posts to show.

    What can be the reason for this?

    Or maybe I understand the option “Only from same” wrong?
    If you have checked only from same tag, and the single post has the tags “animals” and “zoo”. > do only posts show, that have this same combination of tags?

    This could be a reason for posts not showing. But I thought, that the checkbox below “Match all taxonomies” solves this and means: if not disabled, take any post that has any of the same tags OR categories.

    So maybe I’m understanding something wrong here.

    Thank you for your patience!
    Angie.

    Thread Starter angiepunkt

    (@angiepunkt)

    Hello!
    thank you for your reply.

    On the output-tab of CRP settings I have only excluded pages, attachments and events from display, the field “Exclude display on these posts” is empty, also the field “exclude on Categories” is empty.

    Genereal > cache: Both boxes are not selected.

    Now I found more in the query monitor: For this post: https://wide-netzwerk.at/wann-ist-ein-mann-ein-mann/

    24	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'medium_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts	0	0,0003
    25	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'large_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts	0	0,0001
    26	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'ald_crp_settings'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts	0	0,0002
    150	SELECT t.*, tt.*
    FROM wp_mnvyjlnxyo_terms AS t
    INNER JOIN wp_mnvyjlnxyo_term_taxonomy AS tt
    ON t.term_id = tt.term_id
    INNER JOIN wp_mnvyjlnxyo_term_relationships AS tr
    ON tr.term_taxonomy_id = tt.term_taxonomy_id
    WHERE tt.taxonomy IN ('category', 'post_tag')
    AND tr.object_id IN (2485)
    ORDER BY t.name ASC	
    
        WP_Term_Query->get_terms()
    
    	Plugin: contextual-related-posts	4	0,0009
    151	SELECT term_id, meta_key, meta_value
    FROM wp_mnvyjlnxyo_termmeta
    WHERE term_id IN (97,102)
    ORDER BY meta_id ASC	
    
        update_meta_cache()
    
    	Plugin: contextual-related-posts	2	0,0003
    152	SELECT post_id, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE <code>meta_key</code> = 'crp_post_meta'	
    
        apply_filters('crp_exclude_post_ids')
    
    	Plugin: contextual-related-posts	0	0,0003
    153	SELECT wp_mnvyjlnxyo_posts.*, MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('\"Wann ist ein Mann ein Mann?\"') as score
    FROM wp_mnvyjlnxyo_posts
    LEFT JOIN wp_mnvyjlnxyo_term_relationships
    ON (wp_mnvyjlnxyo_posts.ID = wp_mnvyjlnxyo_term_relationships.object_id)
    WHERE 1=1
    AND ( wp_mnvyjlnxyo_posts.post_date <= '2021-04-13 17:55:17' )
    AND wp_mnvyjlnxyo_posts.ID NOT IN (2485)
    AND ( wp_mnvyjlnxyo_term_relationships.term_taxonomy_id IN (97,102,84,31) )
    AND wp_mnvyjlnxyo_posts.post_type = 'post'
    AND ((wp_mnvyjlnxyo_posts.post_status = 'publish'
    OR wp_mnvyjlnxyo_posts.post_status = 'inherit'))
    AND MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('\"Wann ist ein Mann ein Mann?\"')
    GROUP BY wp_mnvyjlnxyo_posts.ID
    ORDER BY wp_mnvyjlnxyo_posts.post_date DESC
    LIMIT 0, 5	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts	0	0,0041
    156	SELECT post_id, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE <code>meta_key</code> = 'crp_post_meta'	
    
        apply_filters('crp_exclude_post_ids')
    
    	Plugin: contextual-related-posts	0	0,0003
    157	SELECT wp_mnvyjlnxyo_posts.*, MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('\"Wann ist ein Mann ein Mann?\"') as score
    FROM wp_mnvyjlnxyo_posts
    LEFT JOIN wp_mnvyjlnxyo_term_relationships
    ON (wp_mnvyjlnxyo_posts.ID = wp_mnvyjlnxyo_term_relationships.object_id)
    WHERE 1=1
    AND ( wp_mnvyjlnxyo_posts.post_date <= '2021-04-13 17:55:17' )
    AND wp_mnvyjlnxyo_posts.ID NOT IN (2485)
    AND ( wp_mnvyjlnxyo_term_relationships.term_taxonomy_id IN (97,102,84,31) )
    AND wp_mnvyjlnxyo_posts.post_type = 'post'
    AND ((wp_mnvyjlnxyo_posts.post_status = 'publish'
    OR wp_mnvyjlnxyo_posts.post_status = 'inherit'))
    AND MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('\"Wann ist ein Mann ein Mann?\"')
    GROUP BY wp_mnvyjlnxyo_posts.ID
    ORDER BY wp_mnvyjlnxyo_posts.post_date DESC
    LIMIT 0, 5	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts	0	0,0035
    158	SELECT post_id, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE <code>meta_key</code> = 'crp_post_meta'	
    
        apply_filters('crp_exclude_post_ids')
    
    	Plugin: contextual-related-posts	0	0,0002
    159	SELECT wp_mnvyjlnxyo_posts.*, MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('\"Wann ist ein Mann ein Mann?\"') as score
    FROM wp_mnvyjlnxyo_posts
    LEFT JOIN wp_mnvyjlnxyo_term_relationships
    ON (wp_mnvyjlnxyo_posts.ID = wp_mnvyjlnxyo_term_relationships.object_id)
    WHERE 1=1
    AND ( wp_mnvyjlnxyo_posts.post_date <= '2021-04-13 17:55:17' )
    AND wp_mnvyjlnxyo_posts.ID NOT IN (2485)
    AND ( wp_mnvyjlnxyo_term_relationships.term_taxonomy_id IN (97,102,84,31) )
    AND wp_mnvyjlnxyo_posts.post_type = 'post'
    AND ((wp_mnvyjlnxyo_posts.post_status = 'publish'
    OR wp_mnvyjlnxyo_posts.post_status = 'inherit'))
    AND MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('\"Wann ist ein Mann ein Mann?\"')
    GROUP BY wp_mnvyjlnxyo_posts.ID
    ORDER BY wp_mnvyjlnxyo_posts.post_date DESC
    LIMIT 0, 5	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts

    and for this post: https://wide-netzwerk.at/wide-update-gender-und-mobilitat/

    24	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'medium_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts	0	0,0017
    25	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'large_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts	0	0,0005
    26	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'ald_crp_settings'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts	0	0,0001
    152	SELECT t.*, tt.*
    FROM wp_mnvyjlnxyo_terms AS t
    INNER JOIN wp_mnvyjlnxyo_term_taxonomy AS tt
    ON t.term_id = tt.term_id
    INNER JOIN wp_mnvyjlnxyo_term_relationships AS tr
    ON tr.term_taxonomy_id = tt.term_taxonomy_id
    WHERE tt.taxonomy IN ('category', 'post_tag')
    AND tr.object_id IN (2475)
    ORDER BY t.name ASC	
    
        WP_Term_Query->get_terms()
    
    	Plugin: contextual-related-posts	3	0,0009
    153	SELECT term_id, meta_key, meta_value
    FROM wp_mnvyjlnxyo_termmeta
    WHERE term_id IN (99)
    ORDER BY meta_id ASC	
    
        update_meta_cache()
    
    	Plugin: contextual-related-posts	1	0,0003
    154	SELECT post_id, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE <code>meta_key</code> = 'crp_post_meta'	
    
        apply_filters('crp_exclude_post_ids')
    
    	Plugin: contextual-related-posts	0	0,0003
    155	SHOW FULL COLUMNS
    FROM <code>wp_mnvyjlnxyo_posts</code>	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts	23	0,0005
    156	SELECT wp_mnvyjlnxyo_posts.*, MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('WIDE-Update: Gender und Mobilit?t') as score
    FROM wp_mnvyjlnxyo_posts
    LEFT JOIN wp_mnvyjlnxyo_term_relationships
    ON (wp_mnvyjlnxyo_posts.ID = wp_mnvyjlnxyo_term_relationships.object_id)
    WHERE 1=1
    AND ( wp_mnvyjlnxyo_posts.post_date <= '2021-04-13 17:56:49' )
    AND wp_mnvyjlnxyo_posts.ID NOT IN (2475)
    AND ( wp_mnvyjlnxyo_term_relationships.term_taxonomy_id IN (99,85,31) )
    AND wp_mnvyjlnxyo_posts.post_type = 'post'
    AND ((wp_mnvyjlnxyo_posts.post_status = 'publish'
    OR wp_mnvyjlnxyo_posts.post_status = 'inherit'))
    AND MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('WIDE-Update: Gender und Mobilit?t')
    GROUP BY wp_mnvyjlnxyo_posts.ID
    ORDER BY wp_mnvyjlnxyo_posts.post_date DESC
    LIMIT 0, 5	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts	5	0,0075
    157	SELECT t.*, tt.*, tr.object_id
    FROM wp_mnvyjlnxyo_terms AS t
    INNER JOIN wp_mnvyjlnxyo_term_taxonomy AS tt
    ON t.term_id = tt.term_id
    INNER JOIN wp_mnvyjlnxyo_term_relationships AS tr
    ON tr.term_taxonomy_id = tt.term_taxonomy_id
    WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format')
    AND tr.object_id IN (1795, 815, 808, 790, 788)
    ORDER BY t.name ASC	
    
        WP_Term_Query->get_terms()
    
    	Plugin: contextual-related-posts	15	0,0010
    158	SELECT post_id, meta_key, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE post_id IN (1795,815,808,790,788)
    ORDER BY meta_id ASC	
    
        update_meta_cache()
    
    	Plugin: contextual-related-posts	50	0,0005
    161	SELECT post_id, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE <code>meta_key</code> = 'crp_post_meta'	
    
        apply_filters('crp_exclude_post_ids')
    
    	Plugin: contextual-related-posts	0	0,0003
    162	SELECT wp_mnvyjlnxyo_posts.*, MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('WIDE-Update: Gender und Mobilit?t') as score
    FROM wp_mnvyjlnxyo_posts
    LEFT JOIN wp_mnvyjlnxyo_term_relationships
    ON (wp_mnvyjlnxyo_posts.ID = wp_mnvyjlnxyo_term_relationships.object_id)
    WHERE 1=1
    AND ( wp_mnvyjlnxyo_posts.post_date <= '2021-04-13 17:56:49' )
    AND wp_mnvyjlnxyo_posts.ID NOT IN (2475)
    AND ( wp_mnvyjlnxyo_term_relationships.term_taxonomy_id IN (99,85,31) )
    AND wp_mnvyjlnxyo_posts.post_type = 'post'
    AND ((wp_mnvyjlnxyo_posts.post_status = 'publish'
    OR wp_mnvyjlnxyo_posts.post_status = 'inherit'))
    AND MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('WIDE-Update: Gender und Mobilit?t')
    GROUP BY wp_mnvyjlnxyo_posts.ID
    ORDER BY wp_mnvyjlnxyo_posts.post_date DESC
    LIMIT 0, 5	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts	5	0,0057
    163	SELECT post_id, meta_value
    FROM wp_mnvyjlnxyo_postmeta
    WHERE <code>meta_key</code> = 'crp_post_meta'	
    
        apply_filters('crp_exclude_post_ids')
    
    	Plugin: contextual-related-posts	0	0,0004
    164	SELECT wp_mnvyjlnxyo_posts.*, MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('WIDE-Update: Gender und Mobilit?t') as score
    FROM wp_mnvyjlnxyo_posts
    LEFT JOIN wp_mnvyjlnxyo_term_relationships
    ON (wp_mnvyjlnxyo_posts.ID = wp_mnvyjlnxyo_term_relationships.object_id)
    WHERE 1=1
    AND ( wp_mnvyjlnxyo_posts.post_date <= '2021-04-13 17:56:49' )
    AND wp_mnvyjlnxyo_posts.ID NOT IN (2475)
    AND ( wp_mnvyjlnxyo_term_relationships.term_taxonomy_id IN (99,85,31) )
    AND wp_mnvyjlnxyo_posts.post_type = 'post'
    AND ((wp_mnvyjlnxyo_posts.post_status = 'publish'
    OR wp_mnvyjlnxyo_posts.post_status = 'inherit'))
    AND MATCH (wp_mnvyjlnxyo_posts.post_title) AGAINST ('WIDE-Update: Gender und Mobilit?t')
    GROUP BY wp_mnvyjlnxyo_posts.ID
    ORDER BY wp_mnvyjlnxyo_posts.post_date DESC
    LIMIT 0, 5	
    
        WP_Query->get_posts()
    
    	Plugin: contextual-related-posts	5	0,0047
    Total: 14 / 185	0

    I hope this is the information you meant.

    angie.

    Thread Starter angiepunkt

    (@angiepunkt)

    Hi,
    Sorry, didn’t look into this for some time. Thank you for your answer.

    On a post where posts are shown the query monitor shows also only three queries (and not WP_Query->get_posts():

    41	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'medium_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts 	0 	0,0026
    42	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'large_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts 	0 	0,0002
    43	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'ald_crp_settings'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts 	0 	0,0002

    This is the posts url (the one where it works):
    https://wide-netzwerk.at/wide-update-gender-und-mobilitat/

    What can be the reason for this?

    Where can I find the Output tab?

    Thank you, Angie

    Thread Starter angiepunkt

    (@angiepunkt)

    Hi Ajay,
    thank you for the quick response!

    The first two checkboxes on the general tab in the crp plugin settings page are not ticked. Is this what you mean?

    The Query Monitor then produces this (but I’m not sure, if I’m doing this right):

    41	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'medium_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts 	0 	0,0005
    42	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'large_crop'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts 	0 	0,0004
    43	SELECT option_value
    FROM wp_mnvyjlnxyo_options
    WHERE option_name = 'ald_crp_settings'
    LIMIT 1	
    
        get_option()
    
    	Plugin: contextual-related-posts 	0 	0,0003
    Total: 3 / 167
Viewing 15 replies - 1 through 15 (of 30 total)