Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
In this course, author Joseph Lowery shows how to combine the utility of WordPress and the power of Adobe Dreamweaver to transition existing websites to the WordPress platform. The course demonstrates how to create new blog posts and pages, customize WordPress themes, and extend WordPress editable pages from within Dreamweaver. It also covers how to add Spry elements, add and customize plugins, and enhance WordPress-stored content with Dreamweaver's dynamic pages. Plus, a chapter on responsive design shows how you can adapt your layouts for tablets and mobile devices.
So I'm going to switch over to Split view and then broaden the code window a little bit, and you'll see that this is comprised of a fair number of PHP comments right up front, as well as two other little code snippets. The first one defines a variable as true and the second one requires one file. And you can see up here in the related files toolbar I do have that file included wp-blog-header.php, and if I click to that--let me lower the Properties Inspector here so you can see a bit more code.
There's not a whole lot of code to see. It's just a kind of switch statement that allows WordPress to load in one file or another. Without the dynamically-related files feature this is as far as you could go. The way that WordPress works is that it will continue down this path of bringing in nested PHP files one after the other. As you'll soon see there are over 70 different files related to just this one page. Now we can expose all of those files and get access to them through the dynamically-related files feature.
Up here in the Info bar you'll see a message that says this page may have dynamically-related files that can only be discovered by the server, and a couple of link options, Discover and Preferences. In Preferences, you can set the options so that this happens automatically. I tend to like it so that you have to do it manually each time because then if I'm not interested in seeing the additional files I don't have to worry about them, but where the real magic is is by clicking on Discover, which I'll do right now. Now you'll get a script warning from Dreamweaver saying that it was going to run this through the server, and if you want to proceed click Yes.
Well, we definitely do, so let's click Yes, and you can see in the Related Files Toolbar that stretches across the top of the page that there's a whole range of files which have been dynamically discovered. In fact, there is so many that they have extended off the page. I can click the Scroll button here and the files will scroll across, and I can also go back if I need to. Sometimes this is handy for locating a specific file, but in this case, there's an awful lot of files, and you can see them all, well as many as will fit on the screen by clicking the Show More option here in the right-hand side of the document window.
And there you see the first group of files. I'll go down and hover over the Scroll button so we can go all the way down to the bottom of them. As you can see, there are just an amazing number of files that are interconnected here. WordPress, as I said, uses about 70 different files in its default page, all of which are available to you in Dreamweaver. You can access them directly just by clicking on any of the files here, and they'll show up right in Code view. Let's go to media.php, and here's the WordPress API for Media display.
If you want to dive in for a closer feel, feel free to click on Code view to expand the page and then start to look for various PHP functions that you could find on the page. I'll just scroll down a little bit and the first function that we see here constrains the image size for the editor. There are many other types of pages as well. There is CSS, scroll back to the very top of the file we should see a CSS one close to the start, and here's our CSS page. And there are also XML files, all of them are immediately accessible through dynamically-related files.
So now that you know how to access some of the deeply linked files used in WordPress, you'll be able to customize your site easier than ever.
Find answers to the most frequently asked questions about Dreamweaver and WordPress: Core Concepts.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.