ModDish
Forum Replies Created
-
Forum: Plugins
In reply to: [Frontend Uploader] Restricting – Only images being uploadedpretty simple actually
open frontend-uploaded.php
find
$this->allowed_mime_types = $this->_get_mime_types();
replace with
$filetypes=Array ( "jpg|jpeg|jpe" => "image/jpeg",'gif' => "image/gif", "png" => "image/png", "bmp" => "image/bmp"); $this->allowed_mime_types = $filetypes;
you can add whatever mimetypes you want.
https://www.freeformatter.com/mime-types-list.html#mime-types-listForum: Plugins
In reply to: [Grid Products] Grid Products – Products Won't Displaydid you save permilinks after creating the products?
Forum: Plugins
In reply to: [Grid Products] Grid Products – Products Won't DisplayI would need to login to the admin and take a look send me over a email and ill see what I can do, my skype username is the same as I have here.
Forum: Plugins
In reply to: [Grid Products] List View ONLY works in Chromewent to the site but don’t see the plugin running anywhere?
Forum: Plugins
In reply to: [Grid Products] Grid product with Cart66? did you read the read me file? not sure where you got that shortcode but its not valid.
the shortcode goes on a page and would look like
[product]
or several variations, all on the plugin Installation page and in the read me file.
Forum: Plugins
In reply to: [Grid Products] Grid product with Cart66the add to cart links go on the product pages themselves
so when someone selects a product from the list the add to cart button is on the product page.
Forum: Plugins
In reply to: [Grid Products] Custom Links?you would need to add another shortcode var, ex :
extract(shortcode_atts(array( 'cat' => '', 'id' => '', 'view' => '', 'featured' => '', 'hidetitle' => '', 'buttontext' => '', 'des' => '', 'maxdes' => '', 'url' => '',
then add an if statment
if ($url) { } else { }
Forum: Plugins
In reply to: [Grid Products] Custom Links?no zachary426
Ive actually explained it several times…and guided someone step by step…I simply ignore questions that have already been covered in depth as I don’t have time to answer the same thing over and over.
I gave a summed version of what you need to do to the other thread that was opened around the same time as this, but have previously covered this in depth
I simply don’t have the time to put work aside to add features to a free plugin right now
you would need to add another shortcode var, ex :
extract(shortcode_atts(array( 'cat' => '', 'id' => '', 'view' => '', 'featured' => '', 'hidetitle' => '', 'buttontext' => '', 'des' => '', 'maxdes' => '', 'url' => '',
then add an if statment
if ($url) { } else { }
Forum: Plugins
In reply to: [Grid Products] Changing product permalinkremove
'author',
for post date thats part of your single template
you could just create a new single template for the post type products
single-Products.php then lay that out and remove what you do not want displayed.
not sure what you mean in the first part with the permalink, please clarify
Thanks
Evanyour the man 1000kbps
why they are using hardcoded urls with no simple way to update them is beyond me
Forum: Plugins
In reply to: [Grid Products] PaginationNicely done mkruip ?? see you also added the short-code variable for a external url ??
Forum: Plugins
In reply to: [Grid Products] PaginationThis is something I would need to code into the plugin, just do not have the time at present to do so.
If someone has the know how by all means add and I will update the plugin, Im just too busy with clients at the present time to do it.
Forum: Plugins
In reply to: [Grid Products] WooCommerceyou would need to replace the references to product shortcode in the plugin file to something else, in either our plugin or woo, that way they do not conflic with each other.
believe the line is
add_shortcode(‘product’, ‘product_shortcode’);
look for that line and change it to
add_shortcode(‘grid’, ‘product_shortcode’);
or something along them lines
then use grid as your shortcode.
if that doesn’t work let me know.
Thanks
EvanForum: Plugins
In reply to: [Grid Products] Remove Linksin grid-products.php
add to the array on lines 138 to 145
‘link’ => ”,
then replace any reference to
to
‘.$buttontext.’
and remove
also need to remove the links around the titles.
Making the above change would make the button REQUIRE a link to work. If you need it to be more advanced, and have the option of the button linking to the post OR download a file, you will need to take it a step further, and add some isset code to check if link exists and to create the button if it is set or not.