university-static's People
Forkers
bgj9795 yomigaesu muddasirawan dilipmula lkimsey alexkardone ra-hulgupta elyas-nawabi sarfarazalitoori johnray016 hashimwarren chrisjharvey juliusfermia rzadev codebyline codingdeep zdamao dirkdunn andzub trevorton27 halava rippleytrigger karimyah danmulvihill anjitpariyar marcmanley t-hoff-94 mark-73 carstenvilstru zhpeh jdeng7 danielxie1990 rohitpragatinagar yogicave griyanet gioandreou peter-avila nguyenchris stoffy92 juniortavarez kebapetse abhilash-j-nair ibrahimnassif alextwd petermortensen miloshn mubeyd spierre95 arpitadeb suha19 goodguygregory putolov caqlishire sakeyehp kmiskiewicz tomo-hadi-sutomo oussamasine07 danlehner zoubirel tessssssssy ralocorvette etapemejame tylarpierson yosoyroot shahroozism maryamrika pkongawi najmi-smile ilijapn razaprojects dannywoodford sadorect marko-medic emddeveloper akarsh17 pankajbhatt11 panshangzhu kirun1 quazi16 terabius gorsuchtim robatics hnguyen89212 learttmorina lightningwebsolutions philipsada ezosher kuchibs zubayerahamed electron1966 ali2024 kajetanjuszczak duncan-chege danielkapeleti mlars2020 febby intfrr dcrawsh alejo9226 ngazicuniversity-static's Issues
scripts-bundled.js not loading slider
Adding the script to functions.php:
p_enqueue_script('main-uni-js', get_theme_file_uri('/js/scripts-bundled.js'), NULL, '1.0', true);
google console reports:
Uncaught TypeError: Cannot read property 'insertAdjacentHTML' of null at new Y (scripts-bundled.js:6) at Module.<anonymous> (scripts-bundled.js:6) at n (scripts-bundled.js:1) at scripts-bundled.js:1 at scripts-bundled.js:1
css code doesn't work for university-static
Dear Sir,
I'm a beginner for WordPress, Thank you for your video 'Become a WordPress Developer'. It's really helpful, I can learn wordpress basic knowledge from your video. I have followed each step, but in the section 'Convert HTML/CSS Into Theme', I copied and pasted the css code to fictional-university-theme\style.css, then refresh, but it seems doesn't work. Below is my screenshot. Version of Wordpress is 5.7.1 and the browser is Chrome. Could you help me? Thank you very much!
Best regards
This issue has resolved after re-install wordpress.
Sass to CSS
The code on your Udemy Course and the Code in your repository at it's current state aren't the same. in order to render the page in a similar way you will have to have you student's download Ruby Sass or another Sass and compile your current CSS code down to a version which the server will be able to understand when displayed on Mamp. For those taking your course using mamp. I should be able to figure out how to do this but I will need to make a pull request in order to change the distribution of your variables and other element components in your current version of this repository.
Gulp file missing, how to automate without settings.js and gulp file
child pages menu
The child pages menu just shows up on the parent page but not in the child page.
style.css file and javascript folder missing in directory
Not working
js folder not found
Hello Sir;
finding it difficult locating the js file for the slide show in converting static html in wordpress
Changes to JavaScripts files have no effect
In Section 11, Lesson 50, we're asked to make a change to src/index.js (adding an alert). When visiting my site's homepage, I did not see the alert. I performed a "Hard Reload" and an "Empty Cache and Reload", but neither resolved my issue. I found that changing which JavaScript file was enqueued in functions.php from /src/index.js
to /build/index.js
caused the alert to appear.
So, in functions.php, I changed this:
function university_files()
{
wp_enqueue_script('main-university-js', get_theme_file_uri('/src/index.js'), array('jquery'), '1.0', true);
...
}
To this:
function university_files()
{
wp_enqueue_script('main-university-js', get_theme_file_uri('/build/index.js'), array('jquery'), '1.0', true);
...
}
Video tutorial doesn't match git
Can't find style.css in github needed for 'build word press web site from start to finish' tutorial. Found many files with extension .scss.
Also found html needed for header and footer
Compliments
Hey ,
I am your student since 2019, I came across a new update on the course. The first instalment helped me land a job and current updates will help me upgrade my career.
You absolutely rock, Brad.
A great teacher nonetheless.
Regards
Dr. Barksalot and Dr. Meowsalot profile images
The images in the folder for these two professors have already been cropped and resized to the professorLandscape resolution of 400 x 260. Please reupload the two images at their full resolution so students achieve the expected results from using the cropping plugin and the custom image cropping.
No licence
Please consider including a licence.txt, im not sure if I'm allowed to fork this and/or use it commercially. Thank you.
slider section error
i did the exact thing but the slider isn't working for me plz help!!!
Issue with wordpress domain local - tutorial 7. Workflow & Automation (Part 2)
I am only working locally on my computer at the moment following the tutorial.
The following code works and displays successfully:
wp_enqueue_script('workshop_01-js', 'http://localhost:3000/bundled.js', NULL, '1.0', true);
however, the next task was to create if/else statement to check and see if the wordpress domain is local or else it displays the automated css and js scripts, like the code below:
if (strstr($_SERVER['SERVER_NAME'], 'workshop_01.local')) {
wp_enqueue_script('workshop_01-js', 'http://localhost:3000/bundled.js', NULL, '1.0', true);
} else {
wp_enqueue_script('workshop_01-js', get_theme_file_uri('/bundled-assets/scripts.9aae91d25e6ebb25b45d.js'), NULL, '1.0', true);
wp_enqueue_style('styles', get_theme_file_uri('/bundled-assets/style.css'));
}
but when I check in the browser, it displays with no stylesheet rendered, just no styling.
So, If I don't have a domain online, and I am only working from my localhost, I don't understand where I need to view workshop_01.local ...
Can you/anyone explain what I am doing wrong here?
scripts-bundled.js cause fatal error in wordpress
Here is the code I follow to enqueue in WP: wp_enqueue_scripts('main-university-js', get_theme_file_uri( '/js/scripts-bundled.js' ),NULL,microtime(),true);
And here is error: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /app/public/wp-includes/class-wp-hook.php on line 288
Note: I use Flywheel for local WP Dev. PHP Memory 256MB which I think is most common setting on hosting server. When comment out the code the site work fine.
Issue with css, js integration
I am having issues in session 4, last video while integrating css and js....it is not working even when i define it in a function.php.......many students have stuck here. I have been through stack overflow and have seen the same questions raised by student from your tutorial. Please resolve the issue and give us a solution so that we can move forward with learning. Thank you for your support!!
missing file
hey i cant find "webpack.config.js"
node.js
i'm at section 11, lesson 49 of your course on Udemy. I've got everything up and running, but unfortunately in my console I get:
Failed to load resource: the server responded with a status of 404 (Not Found) index.js:1
Node JS 「wdm」: Failed to compile.
on Lesson 7 work flow and automation , I run the command npm run devFast , I got the following error
ERROR in ./js/scripts.js Module not found: Error: Can't resolve '../css/style.css' in 'C:\xampp\htdocs\uni\wp-content\themes\fictional-university-theme\js' @ ./js/scripts.js 1:0-26
is there something missing or i'm I doing something wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.