Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter benratelade

    (@benratelade)

    That was spot on ??

    The plugin uses php://input to read the body of the requests, which was rendered empty from the first “read”.

    Thanks a lot for your quick and accurate response.

    Ben

    I am seeing something similar with different plugins making calls to custom endpoints on WordPress sites.

    From what I found, disabling the Wordfence Security plugin stops the issue. However, I was only able to reach that result through entirely disabling the plugin (not just disabling the firewall).

    If you have a solution, I’d love to hear it.

    benratelade

    (@benratelade)

    Hi there,
    I have the exact same issue. Images all show at the same time, then disappear, then the loading spinning wheel shows up and finally the slider shows up.

    It’s in Chrome as well, and I am using the code in a theme template directly.

    I tried adding the overflow: hidden on to the container but the second image still shows for a second below the first one (other css rules definitely apply).

    Is there anything else that can be done on the plugin side?

    HI and thanks for the quick reply;

    1. I was running version 2.2.1 of Unyson. I have since updated it.
    2. Recovering the page from Revisions works but does not solve the problem (everything is still in a single text block). In fact, it seems that restoring an older version defaults the editor to WordPress’ Visual Editor, regardless of what editor I was using (before clicking “update” or after saving the post has the same result). This was true both before and after updating the plugin.
    3. Nope. I tried recreating a post with some elements, switching from Visual editor to Default editor, saving at several points and I couldn’t reproduce. Note that the issue happened without me touching the website: one day everything was fine, few days later the posts were only displaying the shortcode and switching to Visual editor would show everything in a text block.

    I had a very similar issue.

    A page, built with the visual composer, switched to “default editor” the next time I logged in. All shortcodes were there, in WordPress’ built-in visual editor.

    I then switched back to visual editor and everything was in a single text block.

    Thread Starter benratelade

    (@benratelade)

    I tried that, and indeed, the custom field is being displayed then.

    I don’t quite understand why it is no longer showing now, as I only moved one line higher in the code, and added a few tags here and there for styling.

    Here is what I have:

    foreach ($this->catlist->get_categories_posts() as $single){
      //Start a List Item for each post:
      $lcp_display_output .= '<li class="mini-post-holder clearfix">';
    
       //Post Thumbnail
      $lcp_display_output .= $this->get_thumbnail($single);
    
      //Show the title and link to the post:
      $lcp_display_output .= "<h4>".$this->get_post_title($single)."</h4>";
    
      //Show comments:
      $lcp_display_output .= $this->get_comments($single);
    
      //Show date:
      $lcp_display_output .= ' ' . $this->get_date($single);
    
      //Show author
      $lcp_display_output .= $this->get_author($single);
    
      //Custom fields:
      $lcp_display_output .= $this->get_custom_fields($this->params['customfield_display'], $single->ID);
    
      /**
       * Post content - Example of how to use tag and class parameters:
       * This will produce:<p class="lcp_content">The content</p>
       */
      $lcp_display_output .= $this->get_content($single, 'p', 'lcp_content');
    
      /**
       * Post content - Example of how to use tag and class parameters:
       * This will produce:<div class="lcp_excerpt">The content</div>
       */
      $lcp_display_output .= $this->get_excerpt($single, 'div', 'lcp_excerpt');
    
      //Close li tag
      $lcp_display_output .= '</li>';
    }

    Any idea what I did wrong?

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