correa

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)

correa
Member

It says “Because, sometimes your theme may have those scripts/styles enqueued already”. Mine doesn’t use it. Wouldn’t it then make Download manager not to function properly?

Anyway, minifying the assets during the release process should be standard practice. It’s important because Google thinks so and it’s responsible for 90% of all search traffic.

in reply to: Latest update triggers fatal error #40233

correa
Member

Hi.

Looks like it requires PHP 5.3 and that is the error we get when using an earlier version. See: http://www.wpdownloadmanager.com/support/topic/error-on-upgrade-2-8-9/


correa
Member

Hi

I’m doing the same work on our website. Please add the following to the wish list:

  • Minify download-manager/assets/bootstrap/css/bootstrap.css
  • Minify download-manager/assets/css/front.css
  • Minify download-manager/assets/js/chosen.jquery.min.js – Despite it’s name, it’s not minified

Those get into our front-page somehow.

in reply to: Building WP theme with Download Manager support #39380

correa
Member

Any ideas?

in reply to: Building WP theme with Download Manager support #39288

correa
Member

Sure, this page is currently implemented in something else, I’m trying to reproduce it in WP:

http://www.comm5.com.br/novo/produtos-categoria/placas-seriais-pci-express-33/2sg-pci-e-153

On the right there is a sidebar with 3 link images, one for Catalogs (Catalogo), Manuals (Manuais) and Drivers. Each can either be a single download file (pdf or zip) or have “suboptions” such as “Windows”, “Linux”, etc. So, clicking one of them I would like to get something similar (or better) that this:

http://www.comm5.com.br/novo/departamentos/drivers/153

My current implementation of sidebar.php for WP contains this to get the link:

function comm5_get_download_link($property) {
		// Query custom property value
		$propertyValue = get_post_custom_values($property);
		$wpdm_package = wpdm_get_package(intval($propertyValue[0]));
		if ( count($wpdm_package) > 0 ) {
			return esc_url( $wpdm_package['page_url'] );
		} else if ( count($propertyValue) > 0 ) {
			return esc_url( get_permalink( get_page_by_path( $propertyValue[0] ) ) );
		} else {
			return '';
		}
	}
in reply to: Problems with 2.8.8 #38814

correa
Member

Exact same issue here. Just installed the plugin for the first time.
But my plugin is version 2.8.9

Viewing 6 posts - 1 through 6 (of 6 total)