Lana Codes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Lana Blog] Left sidebarPage > Edit > Page Attributes > Templateand select “Left Sidebar Page” option.But this can only be set for Page.
Forum: Plugins
In reply to: [Lana Downloads Manager] Dynamic Download LinkAwesome. 🙂
Forum: Plugins
In reply to: [Lana Downloads Manager] Dynamic Download LinkI think this can be done by a CSV import plugin. There’s automation in these plugins, if I remember correctly.
So I would advise you to look for an import plugin. The file url is a meta value, it can be set in plugins.
Or you can do it with a custom-developed plugin, a freelancer who understands WordPress can definitely make it. I think it would be a couple of hours of work.
Forum: Plugins
In reply to: [Lana Downloads Manager] ContributionOh, that’s really nice of you. Although I don’t usually develop for Gutenberg, I don’t pay attention to compatibility with either my themes or my plugins. I don’t think Gutenberg is a good direction for WordPress.
But if you upload the code to a repo (github gist or similar), I’ll check it and I may add it later to the plugin.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloads in Advanced Custom Fields as Post TypeAwesome. Thank you.
Forum: Plugins
In reply to: [Lana Downloads Manager] Download Headers ProblemYeah, this has been a topic here on the forum several times.
Please read this: https://ww.wp.xz.cn/support/topic/open-pdf-in-new-window-not-download/
But otherwise there is an action hook:
do_action( 'lana_downloads_manager_before_file_download', $download_id );You check that the file is a PDF and if so, you open it.
You need to add the header() functions again, but I think it will work. It is not customary to add hooks to all rows, we only add them at the beginning of the process, and completely redefine individual operation.
Let me know if I can help anyone else.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded extensinon fileYou’re welcome. I also thank you for the bug report.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded extensinon file@rahjou I made the requested upgrade.
Now, if all goes well, the plugin can manage Google Drive file name/extension.
In this version:
Lana Downloads Manager 1.4.0Please test it. And if you have any comments or advice, feel free to contact me.
Forum: Plugins
In reply to: [Lana SEO] Disable the Open Graph metaThis is currently not possible. But I will try to upgrade to the next version. I am asking for a few days patience to complete the development.
Thanks for the advice.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded extensinon fileYeah, so the problem:
Lana Downloads Manager works by forcing the file to download.
– local file -> force download
– remote file (url/image.jpg) -> force download
– remote file (url/cloud) -> force download (this causes a filename error)Simple Download Monitor
– local file -> force download
– remote file (url/image.jpg) -> only redirect to it, so can’t force download (just opens the image)
– remote file (url/cloud) -> only redirect, but the cloud forces the download, so it worksI’m trying to find some solution for the plugin to recognize the cloud.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded extensinon fileAh, I think I found the problem and I can fix it.
It may take some time before I can upload the patch. I have to test it many times.
Forum: Plugins
In reply to: [Lana Downloads Manager] Downloaded extensinon fileI’m sorry, but it’s unlikely you’ll be able to link a file directly from cloud (for example Google Drive).
The problem is that the cloud system does not have a direct file download, but usually an interface.
Here’s how direct file download works:
– /website/filename.jpg
– download file (so the browser downloads the file)how cloud file download works:
– /cloud/filename
– cloud interface
– download button, or download action
– download file (so the browser downloads the file)Due to cloud interface operation, it is not possible to link a file from the cloud in this plugin.
You may specifically need to look for a cloud manager WordPress plugin.
Forum: Plugins
In reply to: [Lana Downloads Manager] Created download, but don’t see the file on pageI can give you some PHP code that you can put in the functions.php file in the theme and it will automatically add download button to the content. But it also needs to be put into the theme.
This is useful if you have a lot of download files. If only a few, then it is better to be manually edited.
Feel free to let me know if I can help.
Forum: Themes and Templates
In reply to: [Lana Blog] change color of element in top logoAsk for help from Modernize support. Premium templates come with support, this is included in the price.
They can easily help you because they know all the settings of the template.
Forum: Themes and Templates
In reply to: [Lana Blog] change color of element in top logoYou are not using the Lana Blog theme as I see it.
But I’m still trying to help. I only see a black line between the top menu and the logo. Here’s how to turn it off the black line:
div.no-boxed-layout div.top-navigation-wrapper-gimmick { display: none; }Add this code to: Customizer > Additional CSS
I don’t know about this WordPress theme you’re using, but try to find the author, I think he can help you more. I think this will be:
https://themeforest.net/item/modernize-flexibility-of-wordpress/1264247/supportGo to the Support tab and ask for help.