Yakti-R
Forum Replies Created
-
Forum: Plugins
In reply to: [Pretty file list] [Plugin: Pretty file list] Sorting File ListYou can do this by editing the PrettyFileList.php file in the plugin directory. However, note that these changes will be overwritten by a plugin update. (But since the author gives the sign he is going to include this option, that might not be a problem.)
Open the PrettyFileList.php file and go to line 80. There you will find the following code:
$args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => get_the_id(), 'post_mime_type' => $mimeTypesToGet);
Just add the following into the array:
'order'=> 'ASC', 'orderby' => 'title'
so it will look like this:
$args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => get_the_id(), 'order'=> 'ASC', 'orderby' => 'title', 'post_mime_type' => $mimeTypesToGet);
No the list will be sorted alphabetically.
Forum: Plugins
In reply to: [Pricing Table] [Plugin: Pricing Table] Two SuggestionsI agree with the suggestions. Although it would be even better if the checkmarks could be added in a more simple way, like checking a checkbox or something.
Getting rid of the price might be a little difficult, since that one is specifically used in the templates (at least for the gray template). However, it would be great to be able to choose the currency. Now I have to edit the template file in order to change the dollar-sign into the euro-sign.
What also would be great is the option to have the button displayed at the bottom instead of the top of the table.
Finally, a suggestion to add the ability to edit the name of the features, instead of having to delete them and add them again.
All in all, thanks for this great plugin. As far as I’ve noticed it works fine.
Forum: Plugins
In reply to: [Pricing Table] [Plugin: Pricing Table] Change $ To € In Gray TemplateYou can do this by editing the gray template file. In the plugin directory go to the “tpls” folder and open the “price_table-gray.php” file with a text editor. In line 196, you’ll find the following text:
<h3><?php echo $key;?><span>$<?php echo $value['Price']; ?></span></h3>
Just replace the $-sign with “€”, so it will become:
<h3><?php echo $key;?><span>€<?php echo $value['Price']; ?></span></h3>
Maybe you have set it up in the meanwhile, but just for future reference, this is how I did it:
I’ve put the following code in my .htaccess below the RewriteEngine On statement:
#Redirect secondary domain RewriteCond %{HTTP_HOST} ^www.domain2.com$[OR] RewriteCond %{HTTP_HOST} ^domain2.com$ RewriteRule ^(.*)$ https://www.domain1.com/$1 [R=301,L]
Don’t know if this is the best way in terms of SEO though.
Ok, thanks for clearing that up. I’ll just wait and see. For now I will just have to keep the list short ??
Forum: Plugins
In reply to: [Multiple Carousel] [Plugin: multicarousel] MultisiteI’ve found two more bugs in multi site:
1. I cannot add a link to an image. It gives “Requested URL not found.” This is probably the same problem as the one with the delete button and I guess it is multi site related.
2. When hovering the slider it stops sliding and afterwards continues again. This is perfect. However, when using the navigation buttons it also stops sliding but does not continue again.Also, when leaving the link field empty, it creates a link to the homepage, which opens in a new window. Two suggestion here:
– give the option to not have a link at all
– give the option to have the link opened in the same window instead of a new window.(Hope you don’t mind me giving you all these suggestions and multi site related troubles.)
I don’t think it’s the same issue, but I will try the solution when I have the time and let you know if it worked.
Thanks.
Forgot to mention, since you need a WPMU DEV’s membership to download it, I can send you a copy if you want to test it.
I’m using this one.
Thanks a lot for your time trying to help me. Unfortunately I haven’t been able to narrow it down.
The setting you mention doesn’t show up anywhere in WordPress after activating the multisite network functionality. Not on the network admin area, nor in the admin area of the main site or the sub sites. I have checked this in other multisite installations and it is the same everywhere. However, since I can see where files going after being uploaded, I know that for the main site, where the error occurs, is the WordPress default: wp-content/uploads.
Luckily, it is not that big a problem since it doesn’t hamper with the rest of the site and it is working fine on the sub sites.
It isn’t. Somehow, if I change the Minify URL in one site, it changes for all sites. It doesn’t seem to save spite-specific URL’s but only one network wide URL.
No, not in my multisite installation. I guess this setting is being omitted when creating a network. However, I didn’t change anything there, so it should be the default values.
For the main blog, the upload directory will be the default wp-content/uploads
For the other blogs (where the plugin is working fine), the upload directory will be wp-content/blogs.dir/”blog-id”/files
I’m not the plugin author, neither a plugin developer. So, if my solution doesn’t work for you, I am afraid I won’t be able to help you.
There seems to be no “Store uploads in this folder” setting under settings -> media.
The “-1234″5 issue is easy to fix. Just go to the Title & Meta settings of the plugin and check the “Title template” for the home page, post types, taxonomies and others. If it shows “%%sitename%% – %%sitedesc%% – 12345” just remove the last part.