All right so i have created a page in the wordpress admin called Theme Options.When i export my files the links of these pages are not exported.I want the links that i have included in this page to be also exported using the export plugin.
How can this be done ?
Here is a screenshot:
Are those links stored/retrieved as wordpress options? If so, then just migrating the files will not migrate the database as well.
Regarding Options: http://codex.wordpress.org/Option_Reference
If you aren't storing them there you can just hard code them into the form.
Related
Hello fellow developers,
I have an issue that I am running up against regarding WordPress and the current website I am working on.
I have been give a task to revamp a website, and to insert that website into WordPress. I have been working on a "custom theme" which I succeeded in luckily. The problem with that theme is, the theme shows the homepage of the website I have revamped, and when I wish to add another page to said WordPress installation. All it shows is a blank editor page.. (The same with the "view" and "edit") on the homepage of that website.
TL;DR
I want to use my custom theme to add another page to the wordpress website, problem is it shows a blank page. And the preview of a new page just shows the theme page (so the add page refuses to do anything).
Is there a good and efficient way to migrate my current HTML & CSS website to wordpress? If so how?
Thanks for the read, it's really hard to explain the situation
So the problem comes when you try to add a new page, within WordPress? Did you accidentally edit that function? Try reinstalling WordPress. Since your theme is ready, you will just need to copy it to the new installation.
I have a client who needs his website edited, he is no longer in contact with the original creator of the site, and it seems that the creator used WordPress to make the website. I've been able to access the page through cPanel but cannot locate the HTML files necessary to do things such as editing text. I have the ability to change images but the owner would like to remove some pages, etc.
There are also tons of PHP files for the WordPress extensions and such, but I know nothing about PHP.
Would I need access to the wp-admin account that designed the page in order to modify the text?
Wordpress stores page content in a database, which is subsequently loaded by a collection of php files. You cannot change the content or looks of a wordpress site by changing html files.
The easiest way to change content is to log in to the wordpress dashboard of the website. If you don't have the password, you can open up phpmyadmin via cpanel, browse to the wordpress database and find the *yourwebsiteinitials*_users table. In there you can choose one of the accounts that should be there and click edit, then edit the user_pass column, and simply type a new password in value and set function to md5. Then you can go to *yourwebaddress*/wp-login.php in your browser and login with the user you just edited and the new password.
Alternatively you can find posts in the _posts table and change content via phpmyadmin, but it's much easier to do this via the dashboard.
There could be a few things you need to be aware of: and I believe you have a good understanding of WordPress. If not you may want to watch some tutorials about it.
Themes: You need to find out if the previous developer develop with custom template and maybe he hard coded all the text inside themes file which located wp-content/themes/{name of the theme}/ {other file}, in this case, if you are not aware of WordPress theme development or how it structure, I suggest you watch some quick tutorial on it and there are tons.
Yes, wp-admin is the place where you can find all the pages listed or posts or whatever content. By editing page, you easily can change the text or delete the page which not require or add a new page.
Just find what is the way it's coded. then you will able to follow
You can log into the WordPress dashboard from the cPanel, following these steps:
Login to cPanel.
Scroll down to the Softaculous Apps Installer section and click on the WordPress icon:
You will be directed to the WordPress Install tab.
Scroll down to the Current Installations section.
Click on the admin icon to login to the WordPress dashboard without a password:
You will then reach the WordPress admin dashboard- voila!
if you want delete page in WORDPRESS you need to login wordpress and delete from pages and if you need delete custom php pages you need to go to cpanel and public html folder your page name or delete from wordpress go to /public_html/wp-content/themes/active theme name/ and find there page name there extenstion of pages is like pagename.php or pagename.html.
I have a wordpress template which have some static content.
in fact the index page has a page template and its all static and have no control from wordpress.but using header and footer.
I want to change static links in this page using admin panel.
How to change this static links from wordpress panel without using a database to store this links?
thank you
You need to edit theme's files. Use Wordpress editor for this.
UPDATE
Install the plugin for managing options. For example, WP Options Editor
In your template replace the code that should be customizable with the
get_option('your_option_name');
Does anybody know how to generate pages in wordpress, with php code as a content using a plugin?
For example the; the plugin will create landing pages, without the use of wordpress pages or custom posts. Just in the backend settings, it can add/modify/delete pages.
Thanks,
If my title wasn't clear, basically what I'm trying to do is to add my own HTML or PHP page to Wordpress, so i can play around with some web dev.
So essentially I just want a test page/pages added to my site. However since I have installed Wordpress on my website, I can't just add "index.html" to my root folder using my FTP client. I wonder if I can/can't do this and if so how to link to the pages I add using FTP.
Sorry if this doesn't make any sense. I just want to add some of the sites I've already made / ones I am creating to my site so I can easily show clients/employers what I can do, and I apologize again if I'm being an idiot.
Create a sub-directory in your root folder and then simply link to it:
www.domain.com/mysubdir/index.php
the other way to do this... create a page template in wordpress
create a php file named: template_mypage.php
You must put this php comment line at the top of your template file:
/* Template Name: My Page */
go to wordpress backend and create a new page
in the "Page Attributes", you can find a drop down list named "Template". In the list, you should be able to find "My Page"... select it and then save your page.
view it!
You can always create a subdomain or create a folder inside public_html/www/ and redirect it from any other domain or from any static link you have on wordpress
Why not use WordPress and put your portfolio together using Custom Post Types? I recently presented on this and there is a handy plugin for Custom Post Types UI that you can create a whole new section of your site and make templates for your portfolio.
Just a thought.
If you do a static page in WordPress, you can still template using the Page system as specified in another comment. Code your page, separate it into header, footer, content, etc files. You can load the file to your root, but not name it index. If you do a subfolder, you need to not have an existing page in WordPress.
HOWEVER, you can still do a "halfway" static page still using WordPress and do a header-staticpage.php, index-staticpage.php, and footer-staticpage.php and make sure to include the code for WordPress header and footer in the new header and footer so you can still reap the benefits of the default jquery that WordPress allows. Don't forget to name your template and when you create the page in WordPress, you can just leave the content area blank if you have hardcoded the page's content in.
I still recommend trying Custom Post Types. It is not hard and there are some great presentations in Slideshare that cover this aside from the plugin I mentioned earlier in this comment.