WPIntell

Source evidence

Problem adding Zurb to WordPress

Zurb Foundation 5 Clearing Gallery · support · 2016-09-28T19:58:00+00:00

complaintsentiment
mediumseverity
0.75relevance
1replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
f2099 unresolved
Hi, everyone. I’m having a hard time installing Foundation in a WordPress website I’m developing. I’ve tried the following code: function enqueue_foundation() { wp_deregister_script(‘jquery’); wp_enqueue_style( ‘foundation-css’, get_template_directory_uri() . ‘/css/foundation.min.css’); //wp_enqueue_script( ‘foundation-js’, get_template_directory_uri() . ‘/js/foundation.min.js’); wp_enqueue_script( ‘foundation-jquery’, get_template_directory_uri() . ‘/js/vendor/jquery.js’); wp_enqueue_script( ‘foundation-js’, get_template_directory_uri() . ‘/js/foundation.min.js’, array(‘foundation-jquery’)); } add_action(‘wp_enqueue_scripts’, ‘enqueue_foundation’); However, this is breaking the site’s layout. I’ve also tried using a plugin to add the CSS and the JavaScript files from a CDN, but this also doesn’t solve the problem. How should I proceed? Thanks in advance. Zurb Foundation is a full site development framework. It’s not designed to be retrofitted into another framework or theme. You will find the as a standalone framework it’s css and js will conflict or override items when applied to an existing theme or framework. If you are looking to use foundation to develop a WordPress theme from scratch you can download the framework from zurb and use it as a base for your theme development

Comments

1 shown
ben.moody 2016-09-29T00:26:00+00:00

Zurb Foundation is a full site development framework. It’s not designed to be retrofitted into another framework or theme. You will find the as a standalone framework it’s css and js will conflict or override items when applied to an existing theme or framework. If you are looking to use foundation to develop a WordPress theme from scratch you can download the framework from zurb and use it as a base for your theme development