Title: cyclonecode's Replies - page 4 | WordPress.org

---

# cyclonecode

  [  ](https://wordpress.org/support/users/cyclonecode/)

 *   [Profile](https://wordpress.org/support/users/cyclonecode/)
 *   [Topics Started](https://wordpress.org/support/users/cyclonecode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cyclonecode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cyclonecode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cyclonecode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cyclonecode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cyclonecode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 46 through 60 (of 103 total)

[←](https://wordpress.org/support/users/cyclonecode/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/cyclonecode/replies/?output_format=md) [2](https://wordpress.org/support/users/cyclonecode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/cyclonecode/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/cyclonecode/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/cyclonecode/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/cyclonecode/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/cyclonecode/replies/page/5/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] Locked Out!](https://wordpress.org/support/topic/locked-out-138/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/locked-out-138/#post-14061677)
 * closing ticket due to lack of response
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] how can I increase my upload](https://wordpress.org/support/topic/how-can-i-increase-my-upload/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/how-can-i-increase-my-upload/#post-14061674)
 * closing ticket due to lack of response
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] I’m locked out of my site](https://wordpress.org/support/topic/im-locked-out-of-my-site-6/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/im-locked-out-of-my-site-6/#post-14061670)
 * closing ticket due to lack of response
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cision Block] Limit words/characters in feed?](https://wordpress.org/support/topic/limit-words-characters-in-feed/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/limit-words-characters-in-feed/#post-14022624)
 * You should be able to change the word count used for excerpt by copying the template
   located under `cision-block/src/Frontend/templates/cision-block.php` into the
   root of your active theme and then change the following line, setting your desired
   word count:
 * `<?php echo wp_trim_words(esc_html($item->Intro ? $item->Intro : $item->Body),
   25); ?>`
 * The above changes the word count for the excerpt to 25 instead of the default
   of 55.
 * I also have an upcoming update for the plugin which makes it possible to change
   this from the configuration page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cision Block] Can’t set max count higher than 100](https://wordpress.org/support/topic/cant-set-max-count-higher-than-100/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/cant-set-max-count-higher-than-100/#post-14022615)
 * Hello. Right now it is only possible to fetch the latest 100 releases using the
   plugin. I have a couple of branches which I am currently working on to support
   fetching the entire feed, but since this is a large and relative complex update
   it will take some time before it is being implemented.
    I am also thinking about
   perhaps creating a premium version which has this functionality, which then would
   make it possible for me to spend more time working on this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cision Block] Intro not displaying in post](https://wordpress.org/support/topic/intro-not-displaying-in-post/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/intro-not-displaying-in-post/#post-13953842)
 * Oh this is a single post page. Looking on the code it only displays the Title
   and Body by default.
 *     ```
         <header class="entry-header has-text-align-center header-footer-group">
           <div class="entry-header-inner section-inner medium">
             <?php echo '<h1 class="entry-title">' . $CisionItem->Title . '</h1>'; ?>
           </div>
         </header>
   
          <div class="post-inner thin">
            <div class="entry-content">
              <p><?php echo $CisionItem->HtmlBody; ?></p>
            </div><!-- .entry-content -->
          </div>
       ```
   
 * The easiest fix for this would be to just copy the template into your current
   themes folder and modify it to something like this:
 *     ```
         <header class="entry-header has-text-align-center header-footer-group">
           <div class="entry-header-inner section-inner medium">
             <?php echo '<h1 class="entry-title">' . $CisionItem->Title . '</h1>'; ?>
           </div>
         </header>
   
          <div class="post-inner thin">
            <div class="entry-content">
              <p><?php echo $CisionItem->Intro; ?></p>
              <p><?php echo $CisionItem->HtmlBody; ?></p>
            </div><!-- .entry-content -->
          </div>
       ```
   
 * The template can be found under:
 * `wp-content/plugins/cision-block/src/Frontend/templates/cision-block-post.php`.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cision Block] Intro not displaying in post](https://wordpress.org/support/topic/intro-not-displaying-in-post/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/intro-not-displaying-in-post/#post-13953793)
 * Hm, best would be if you could email me you current plugin configuration and 
   I will try to see what is going on, you can use [cyclonecode@gmail.com](https://wordpress.org/support/users/cyclonecode/replies/page/4/cyclonecode@gmail.com?output_format=md)
   
   My best guess is that the defaults somehow is set incorrectly.
 * Regards,
    Krister
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] how can I increase my upload](https://wordpress.org/support/topic/how-can-i-increase-my-upload/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/how-can-i-increase-my-upload/#post-13876062)
 * When it is displayed in red it means that it is changed from the default value,
   which would be the case if you have changed it in the editor.
    Which values are
   displayed for the memory_limit settings in the table and what value are you trying
   to add using the editor?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cision Block] Slider?](https://wordpress.org/support/topic/slider-318/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/slider-318/#post-13532892)
 * I am adding a solution to use a bxslider for the latest three releases for a 
   block with an id equal to ‘frontpage’.
 * 1. Load needed script and style in your function.php:
 *     ```
       add_action('wp_enqueue_scripts', function() {
           wp_enqueue_script('bxscript', 'https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.2.15/jquery.bxslider.min.js', array ('jquery'), 1.1, true);
           wp_enqueue_style('bxslider', 'https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.2.15/jquery.bxslider.min.css');
       });
       ```
   
 * 2. Override the template/cision-block.php template to render a block differently
   then others:
 *     ```
       <?php if (count($cision_feed)) : ?>
       <?php if ($id === 'frontpage'): ?>
           <ul class="bxslider">
               <?php foreach ($cision_feed as $item): ?>
                   <li>
                       <h2><?php echo esc_html($item->Title); ?></h2>
                       <time><?php echo date($options['date_format'], $item->PublishDate); ?></time>
                       <p>
                           <?php if (isset($item->Images[0])) : ?>
                           <span class="cision-feed-item-media">
                               <img
                                       src="<?php echo esc_url($item->Images[0]->DownloadUrl); ?>"
                                       alt="<?php echo esc_html($item->Images[0]->Description); ?>"
                                       title="<?php echo esc_html($item->Images[0]->Title); ?>"
                               />
                           </span>
                           <?php endif; ?>
                           <?php echo wp_trim_words(esc_html($item->Intro ? $item->Intro : $item->Body)); ?>
                       </p>
                       <?php if (isset($item->CisionWireUrl, $readmore)) : ?>
                           <a
                                   href="<?php echo esc_url($item->CisionWireUrl); ?>"
                                   target="<?php echo $item->LinkTarget; ?>"
                           ><?php _e($readmore, CISION_BLOCK_TEXTDOMAIN); ?></a>
                       <?php endif; ?>
                   </li>
               <?php endforeach; ?>
           </ul>
   
           <script>
               jQuery(document).ready(function() {
                   jQuery('.bxslider').bxSlider({});
               });
           </script>
       <?php else: ?>
       <section<?php echo $wrapper_attributes; ?>>
       <?php echo $prefix; ?>
           <?php foreach ($cision_feed as $item) : ?>
           <article<?php echo $attributes; ?>>
               <h2><?php echo esc_html($item->Title); ?></h2>
               <time><?php echo date($options['date_format'], $item->PublishDate); ?></time>
               <p>
               <?php if (isset($item->Images[0])) : ?>
               <span class="cision-feed-item-media">
               <img
                       src="<?php echo esc_url($item->Images[0]->DownloadUrl); ?>"
                       alt="<?php echo esc_html($item->Images[0]->Description); ?>"
                       title="<?php echo esc_html($item->Images[0]->Title); ?>"
               />
               </span>
               <?php endif; ?>
               <?php echo wp_trim_words(esc_html($item->Intro ? $item->Intro : $item->Body)); ?>
               </p>
               <?php if (isset($item->CisionWireUrl, $readmore)) : ?>
               <a
                       href="<?php echo esc_url($item->CisionWireUrl); ?>"
                       target="<?php echo $item->LinkTarget; ?>"
               ><?php _e($readmore, CISION_BLOCK_TEXTDOMAIN); ?></a>
               <?php endif; ?>
           </article>
           <?php endforeach; ?>
       <?php echo $pager; ?>
       <?php echo $suffix; ?>
       </section>
       <?php endif; ?>
       <?php endif; ?>
       ```
   
 * 3. Add shortcode in the start page of your theme:
 * `echo do_shortcode('[cision-block id=frontpage items_per_page=0 count=3]');`
 * Notice that you need to set items_per_page=0 to avoid using a pager.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] I’m locked out of my site](https://wordpress.org/support/topic/im-locked-out-of-my-site-6/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/im-locked-out-of-my-site-6/#post-13512375)
 * Hello
 * When you are saying “locked out” what does that mean? Is the site not accessible
   at all or can you not log in to the administration.
 * Can you check if the following solution works for you:
 * [https://wordpress.org/support/topic/locked-out-138/](https://wordpress.org/support/topic/locked-out-138/)
 * I am thinking that this probably has something do to with the permissions on 
   your htaccess file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] how can I increase my upload](https://wordpress.org/support/topic/how-can-i-increase-my-upload/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-can-i-increase-my-upload/#post-13443814)
 * If you remove your custom setting from the editor for `upload_max_filesize` and
   save and then if it still is displayed as red in the table, then it is modified
   somewhere else and this setting might take precedence over the one you are setting.
   Check if the value is set in perhaps a custom `php.ini` file or `.htaccess` or
   somewhere else in your installation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] Locked Out!](https://wordpress.org/support/topic/locked-out-138/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/locked-out-138/#post-13354783)
 * Hello
 * This seems very strange. If nothing was changed inside the `.htaccess` file? 
   Could be some issue with permission on the actual file I guess.
 * Do you have (S)FTP access to the server and are you able to access the `.htaccess`
   file? In this case try removing everything between the:
 *     ```
       # BEGIN CUSTOM PHP SETTINGS
       php_value variables_order EPCS  <-- Remove
       # END CUSTOM PHP SETTINGS
       ```
   
 * if the section exists and then re-save your `.htaccess` file and try again accessing
   the site again.
 * If you would like help with this you could also send me a private email on [cyclonecode@gmail.com](https://wordpress.org/support/users/cyclonecode/replies/page/4/cyclonecode@gmail.com?output_format=md)
 * Regards,
    Krister
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] Unable to access the site after editing max file size setting](https://wordpress.org/support/topic/unable-to-access-the-site-after-editing-max-file-size-setting/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/unable-to-access-the-site-after-editing-max-file-size-setting/#post-13342231)
 * [@srajkrish](https://wordpress.org/support/users/srajkrish/) Glad you solved 
   it, but I would really appreciate if you could answer my questions above since
   it perhaps could help me improve the plugin and stop this from happen to other
   users in the future. It would be so awesome if I could setup an environment were
   I could actually reproduce this error so I can fix it in the next release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cision Block] Installationshjälp](https://wordpress.org/support/topic/installationshjalp/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installationshjalp/#post-13306195)
 * Jag stänger detta ärende då jag antar att detta nu är löst.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom PHP Settings] Unable to access the site after editing max file size setting](https://wordpress.org/support/topic/unable-to-access-the-site-after-editing-max-file-size-setting/)
 *  Plugin Author [cyclonecode](https://wordpress.org/support/users/cyclonecode/)
 * (@cyclonecode)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/unable-to-access-the-site-after-editing-max-file-size-setting/#post-13306045)
 * What permission did you set and what hosting provider are you using? You should
   be able to just set the upload_max_filesize from the configuration page, but 
   it seems like something in your environment forces the permission to be 0755 
   while in most cases 644 should be enough. I need to know more about your environment
   to be able to make a small patch for the plugin to support this.
    Please give
   me as much information as possible, for instance:
 * 1. What file permission did you set to make the site accessible again?
    2. What
   hosting provider are you using. 3. Do you know what web server you are running?
   4. What WordPress version are you running? 5. What version of custom-php-settings
   are you using? 6. Can you give me the URL to your site?
 * Since the plugin does not seem to work for you right now, you could try to add
   the `php_value upload_max_filesize 256M` (or what limit you would like to set)
   directly into you .htaccess file and see if this works.
 * Regards, Krister

Viewing 15 replies - 46 through 60 (of 103 total)

[←](https://wordpress.org/support/users/cyclonecode/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/cyclonecode/replies/?output_format=md) [2](https://wordpress.org/support/users/cyclonecode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/cyclonecode/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/cyclonecode/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/cyclonecode/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/cyclonecode/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/cyclonecode/replies/page/5/?output_format=md)