This is a rather sloppily coded plugin, unfortunately. However, to answer your questions:
-
Replace the function
gopiplus_clean
with thisfunction gopiplus_clean( $excerpt, $length = 0 ) { $string = strip_tags( str_replace( '[...]', '...', $excerpt ) ); if ( $length > 0 ) { $words_array = preg_split( "/[\n\r\t ]+/", $excerpt, $length + 1, PREG_SPLIT_NO_EMPTY ); $words = count( $words_array ); if ( $words <= $length ) { return $excerpt; } $array = array_slice( $words_array, 0, $length ); $string = implode( ' ', $array ); } return $string; }
-
Replace
if ($displayreadmore == "YES")
(in 2 places) withif ($displayreadmore == "YES" && (str_word_count($post_content) > $displaydesc))
-
Just enter ‘fade’ into the settings instead of the slide versions. It will work.
Related Posts:
- How to change “Read More” text?
- Creating a press page for our project
- How to display registered customer list as dropdown in WooCommerce checkout?
- Hide DIV if empty – Plugin Gallery
- Error When Trying To Login [closed]
- How to change WooCommece variation data programmtically [closed]
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- How to include files relative to a file’s directory
- How to redirect non www to www? [closed]
- .php file for woocommerce edit category? [closed]
- Customize Menu | Styling LESS/SCSS code formats
- Switch from wp-cron to a server cron job
- How to translate wordpress error message
- Asynchronous request in wordpress
- Override a Plugin Function
- Api external with wordpress
- All custom widgets are not showing in widget area at the same time
- How to delete all categories programatically?
- How to use custom Javascript code inside a plugin?
- Make plugin php file called directly aware of WordPress?
- How to use printf to output two links?
- Why is it important to check for isset and is_array before checking in_array in this example?
- Adding a simple Javascript file with a plugin
- WordPress custom post type image in RSS
- How to add/change (woocommerce) product tab icon
- How to delete a theme using AJAX
- speed up pagination for huge database
- dynamically create callback functions inside a for loop
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- I want to generate the pdf and save it in library?
- Profile / benchmark wordpress on apache?
- Way to send multiple values for column to MySQL?
- Using meta_query in a WP_Query not working for numbers properly
- Add the_post_thumbnail_url to a shortcode in function.php
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- Add key and value to an array in another file
- Calling a save function from a “submit” button
- File Uploader – Upload without adding to Media Library
- ACF – How to set the menu order for the relationship field
- Creating an admin meta box to save post as pending
- Custom search search does not work?
- Must use Plugin not updating HTML code in head
- Wierd site output [closed]
- Wp Debug Enabled True Notices and Warning
- How to call external functions from a PHP script in a WordPress plugin?
- How to change layout of shop page in wordpress? [closed]
- How to write to a separate PHP file in plugin settings
- Pagination shows Same posts
- Add logo to admin menu in my plugin
- same user role or copy the user role to be same as the other role
- Trying to make a simple wordpress plugin, having difficulties understanding how to make it?
- Plugin not working locally, but works on server
- How to get rid of Ellipsis on Woocommerce [Essential] Theme [closed]
- Disable Checkbox depending on state of another checkbox
- Passing PHP Variables to AJAX Loaded Pages
- Custom meta box with jQuery.sortable custom post type list
- preg_replace() No ending delimiter ‘.’ found [closed]
- Building a plugin into a theme
- 2 wordpress site same database
- How to redirect to a page after the form is submitted
- “Allowed memory size” problem [closed]
- Custom post type change excerpt more and excerpt length
- Echo out element to another page.
- Equivalent of admin.php for public pages
- Get data from wp_posts of mysql in to variables of wordpress-php script
- WordPress plugin won’t create custom tables
- Retrieve Plugin Settings and insert into XML string
- Social share buttons text shows up on post excerpts
- wordpress plugin license issue -New plugin development
- quicktag breaking FancyBox plugin on my blog’s front page
- Create “new pages” within the admin section of plugin
- Passing value as hidden parameter to next page
- Trying to include files in plugin isn’t working
- Next Previous Post in wordpress with previous / next link with title?
- Cannot access empty property error in Advanced Access Manager
- Dynamic Image Replacement through call rail phone call tracking plugins in wordpress
- How can I show registration form inside modal?
- Different registration form for different roles
- Trying to get property of non-object wordpress error message
- Theme Functions run a function upon activation or preview
- Is this plugin safe to run?
- Adding a Tag Parameter / Filter to My Shortcode
- More gentle way to hook WordPress custom url
- Categories from front-end, checkbox selection doesn’t work
- Apply html elements in php statement
- How to display results from a data table with an encrypted user id?
- How to add custom function to pluggable.php
- WordPress Post HTML after Posting
- Settings options not showing up on Sub Menu page in WordPress plugin
- WordPress Stats Plugin: Display Post Views [closed]
- Pagination not working
- Filtered content appears in the excerpt
- Advertising: Every page refresh counts as 3 ad impressions
- exec-PHP shows output at bottom of page
- Somehow adding to “Insert Into URL” posts are contradicting each other
- Pasting this PHP breaks my page. Why?
- Check against server time to display SQL entries – Radio Station DJ Rotator Plugin
- Modify pages widget and make a plugin?
- Can you echo PHP code from a variable?
- Cannot Access Console