Michael

Forum Replies Created

Viewing 25 posts - 51 through 75 (of 187 total)
Sep 7, 2020 at 11:17 am
#135912
Participant
Michael
OP
This reply has been marked as private.
Sep 7, 2020 at 11:04 am
#135910
Participant
Michael
OP

Maybe one of the developers would know a way to do this ?

Sep 7, 2020 at 11:02 am
#135909
Participant
Michael
OP

Am not using any shortcodes this is the base category URL for all downloads in the settings of WPDM?

Sep 7, 2020 at 10:55 am
#135907
Participant
Michael
OP

Please don’t mark my requests as resolved if they are not, I was asking for some time to prepare, because obviously if I add the upgrade it breaks the layout on certain pages.

Also, that’s how I did upgrade with the method you’ve suggested, so doing it again will just cause the same issues. By deleting my old copy of DM and adding new files, this is where the problems are. I then have to copy back the old files for it to work correctly. It is a live site, so am not sure how this will be fixed without causing disruption, because not only does it not wrap the tags properly, it breaks the download buttons also.

What do you suggest?

Sep 3, 2020 at 9:39 am
#135692
Participant
Michael
OP
This reply has been marked as private.
Sep 3, 2020 at 9:38 am
#135691
Participant
Michael
OP
This reply has been marked as private.
Sep 2, 2020 at 8:02 pm
#135647
Participant
Michael
OP

I will soon, I can’t update again as it will break the layouts again and it’s a live site. I’ll message back soon and put the site under maintenance while you take a look. I did see there’d been a further update since then? So maybe that will fix. Thanks for the response. I’ll let you know.

Aug 31, 2020 at 7:28 pm
#135417
Participant
Michael
OP

File Icons Issue

I found this post, and replaced pcb with flame and added where I thought it should go, didn’t make a difference. Looking at the code..

$fticon = WPDM_BASE_URL.'assets/file-type-icons/'.$ext.'.svg';

                    if(!file_exists(WPDM_BASE_DIR.'assets/file-type-icons/'.$ext.'.svg'))
                        $fticon = WPDM_BASE_URL.'assets/file-type-icons/unknown.svg';

From filelist.php that is looking for an SVG file that matches the extension of the file ? Otherwise it uses unknown.svg ? I added flame.svg to that folder, but still showing the “unknown” icon.

Aug 30, 2020 at 10:37 am
#135349
Participant
Michael
OP

Any advice ?

Aug 26, 2020 at 1:49 pm
#135143
Participant
Michael
OP

I know a little SQL, it’s basically looking for file types of flame, and then adding a url to point to the image for the icon. My problem is I am not sure which tables I should be looking at to query and which to update. How does it work normally for things like zip files or doc files etc, they bring up their own icon.

I thought it was just a case of adding the extension name as a file name, so zip.png or doc.png etc so for me would be flame.png. Doesn’t work that way.

Aug 26, 2020 at 1:40 pm
#135141
Participant
Michael
OP

Damn, I have about 90 of them … I thought there may be some SQL I could execute that would update the tables.

Aug 26, 2020 at 1:02 pm
#135135
Participant
Michael
OP

I only want to update icons for all files pf a certain type, the plugin sets basic defaults for all packages?

Aug 25, 2020 at 10:31 am
#135058
Participant
Michael
OP

Not to worry, for some reason the desc field is now showing post meta description. Not sure why it suddenly started but hey.. it works.

Aug 25, 2020 at 10:09 am
#135050
Participant
Michael
OP

Very welcome…

To output the category name in the title of the page

%%ct_wpdmcategory%%

put a %%sep%% each side of it so the title becomes

%%page%% %%sep%% %%ct_wpdmcategory%% %%sep%%

  • This reply was modified 5 years, 6 months ago by Michael.
Aug 24, 2020 at 8:04 pm
#135026
Participant
Michael
OP

Have worked out how to add category description through Yoast and it’s ability to use custom fields.

What I need is the field name for WPDM single package description.

https://yoast.com/help/list-available-snippet-variables-yoast-seo/

There’s a guide to the snippets available, I’ve tried using the standard %%excerpt%% but that doesn’t work.

%%ct_desc_wpdmcategory%% gives the category description… for category posts.

Driving me crazy trying to find the answer. I just want Yoast to read in the description I’ve added for files. The downloads edit like a normal post.

Aug 11, 2020 at 10:56 am
#134219
Participant
Michael
OP

The login details are in the other thread Nayeem, the one about the category template etc.

Category / Archive page – no page title

PLEASE don’t alter anything on the categories, I’ve got it set up as I need to now. If you login, you’ll see that when you go to choose a custom link template for a category the card horizontal and card vertical options aren’t there any more. They’re both in my theme directory as well as in the download manager template directories. So not sure why they’re not showing. I’ve solved it by cloning a link template, and have set all my categories link templates to my cloned template. That is working, but as I said I am worried that if another upgrade comes along all my categories are going to be reset to the default link template. Changing them all manually again is no fun.

Aug 11, 2020 at 10:15 am
#134210
Participant
Michael
OP

I cloned a link template, and replaced the code with what I’d used for my custom card-horizontal template. Went through every category again, updating the link template to the new cloned one. That has got me back to where I was. The horizontal link and vertical link templates aren’t available on the selector. I have them in my theme folder as per the instructions, so I don’t know if that is what is causing the problem.

Just worried now that it’s going to do the same again, ie reset all the link templates on the categories. What happens when I upgrade, will it still keep the cloned custom template?

Aug 10, 2020 at 8:55 pm
#134189
Participant
Michael
OP
This reply has been marked as private.
Aug 10, 2020 at 7:53 pm
#134186
Participant
Michael
OP

That’s just it, it is enabled.. so not sure why it’s not showing. ?

Aug 10, 2020 at 6:53 pm
#134178
Participant
Michael
OP

I did do it indeed, one step ahead ! 🙂 Thanks for all your help with this Shahjada .. somehow in all of this the breadcrumbs (am using plugins for permalinks and yoast) have lost their download part ie they say home > scripts > script category > script name.. and am missing the home > downloads > scripts > script category > script name.. I mentioned this in another post. Was almost there with a full solution..

Breadcrumb Yoast not showing base download link.

Aug 10, 2020 at 2:51 pm
#134145
Participant
Michael
OP

Hi,

Generatepress does show title and description on default category pages they show (when I choose “do not apply”) in the category template area, it’s only when I use WPDM global or custom category template they don’t appear, and if I knew why,I’d be able to solve this. Just wish I knew what in the global or custom template is stopping them.

Aug 10, 2020 at 2:19 pm
#134143
Participant
Michael
OP

Is there a shortcode I can use that will just display page title and or description. .Generatepress has hooks ability which will check to see if it’s in a download archive then run a shortcode. If not, a function to display description as well as title would be good.

Aug 10, 2020 at 12:45 pm
#134123
Participant
Michael
OP

Hi,

Yes been doing that from the start, but it still doesn’t add a page title or description by default. I can see your solution to add a page title via a function, but I thought the category template would be inserted under the usual page heading and show category description.

The theme I use (generatepress) does this when I click “do not apply”, so I don’t understand why using a custom template, or the global category template doesn’t do this ? As it stands if people view a custom category template or the global, there’s no hint as to what category they’re in or what it’s about, just a list of downloads. Not good for SEO either.

When you said custom category template, I thought it was for the entire page, not just styling the list of items, this is what I’ve been trying to get at since the thread began.

Aug 9, 2020 at 9:48 pm
#134081
Participant
Michael
OP

Hi..

Can you show me how I use a custom template for category pages?

All I see is to change link styles when I edit the categories. I updated to 5.1.2

Aug 9, 2020 at 6:51 pm
#134077
Participant
Michael
OP

Thanks, just mention that the default category template when selected from the download categories isn’t showing the page title or description by default. I can create pages that use the shortcode that show the title (gets it from the page) and description (gets it from shortcode) but I don’t want to create pages for every category I have. THe default category (global) template should show this.

Viewing 25 posts - 51 through 75 (of 187 total)