GithubHelp home page GithubHelp logo

university-static's People

Contributors

learnwebcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

university-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.

child pages menu

The child pages menu just shows up on the parent page but not in the child page.

Not working

Dear Sir,
Greetings, i have followed each step throw Udemy and at section 4 i have an error and website stoped working.
i have check all files again and again but no mistake it just stoped.
if you can help me would be thankful.
Regards
issue-wordpress

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.

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!!

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.