WordPress – opsætning på EAL

Eksempel

  • Bruger: xxxx.mmd.eal.dk
  • Password: *********
  • Database: xxxx_mmd_eal_dk

Filen wp-config.php kommer til at se sådan ud:

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘xxxx_mmd_eal_dk’);

/** MySQL database username */
define(‘DB_USER’, ‘xxxx.mmd.eal.dk’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘*******’); // password hidden here 😉

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

Q & A – Third semester exam

Remember that the exam is a situation where YOU have to prove that YOU can write some server based code and use a database. So if you write a little plugin, that can use data from a database – designed via a normalized database model – then you are well off indeed.

 

— When we make the site on wordpress can we use blank theme to build the design on?

>> Develop a CHILD THEME and hand in your code for that. Then you can refer to the original theme as a source and demonstrate your own improvements. Here’s how to do it:
And the functions how to add content, do we have to program them by ourself
>> Yeah, that would be nice. In the lessons I have tought you how to do this.
— or we can use the functions that the theme has?
>> You can use them too.
And also the plugins, can we use plugins that are already made by someone or we have to program them also?
>> Yes and Yes.
Best rgds. Per