Michael

Forum Replies Created

Viewing 25 posts - 51 through 75 (of 184 total)
in reply to: Latest update broke layout page template #135907

Michael
Participant

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?


Michael
Participant
This reply has been marked as private.

Michael
Participant
This reply has been marked as private.
in reply to: Latest update broke layout page template #135647

Michael
Participant

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.

in reply to: How to make an icon show for all file types #135417

Michael
Participant

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.

in reply to: How to make an icon show for all file types #135349

Michael
Participant

Any advice ?

in reply to: How to make an icon show for all file types #135143

Michael
Participant

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.

in reply to: How to make an icon show for all file types #135141

Michael
Participant

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

in reply to: How to make an icon show for all file types #135135

Michael
Participant

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

in reply to: SEO – about meta description? #135058

Michael
Participant

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.


Michael
Participant

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 4 years, 8 months ago by Michael.
in reply to: SEO – about meta description? #135026

Michael
Participant

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.

in reply to: Where’s my custom category link template gone? #134219

Michael
Participant

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.

in reply to: Where’s my custom category link template gone? #134210

Michael
Participant

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?

in reply to: Where’s my custom category link template gone? #134189

Michael
Participant
This reply has been marked as private.
in reply to: Breadcrumb Yoast not showing base download link. #134186

Michael
Participant

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

in reply to: Category / Archive page – no page title #134178

Michael
Participant

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.

in reply to: Category / Archive page – no page title #134145

Michael
Participant

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.

in reply to: Category / Archive page – no page title #134143

Michael
Participant

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.

in reply to: Category / Archive page – no page title #134123

Michael
Participant

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.

in reply to: Category / Archive page – no page title #134081

Michael
Participant

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

in reply to: Category / Archive page – no page title #134077

Michael
Participant

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.

in reply to: Category / Archive page – no page title #134039

Michael
Participant

Can you please escalate this

in reply to: Category / Archive page – no page title #133964

Michael
Participant

Any update on this?

in reply to: Category / Archive page – no page title #133895

Michael
Participant
This reply has been marked as private.
Viewing 25 posts - 51 through 75 (of 184 total)