Okay so my problem is that, I am currently working on a website which is already been created using wordpress. My problem is that when you see the website page, there is all the data and everything is present. But when I come to the backend of the page in wordpress its not showing any content at all. I mean its like there has never been the data at all in this page. Its so confusing. Please answer me this. And kindly remember that I am not a good coder so anything that is related to coding please ellaborate it with examples.
I 've fixed it.
The problem is in charset of db.
Open wp-config.php file and just change charset to utf8 & comment the old one.
define('DB_CHARSET', 'utf8');
Thanks
Like the other commenters mentioned, you can also insert content into pages on Wordpress with pages on custom themes.
Remember to back up your site before you make any changes.
Try to change your theme by going to 'Appearance->Themes' in the Wordpress admin window and activating a new theme. Head to the page in question and see if the content is still there. If it isn't, it's being added in a custom theme, which is probably what's happening.
If that's all you need to know, you're all set - otherwise, you can use this process to find what's creating the content:
Go to your Wordpress installation directory (you'll know you're there when you see folders like 'wp-admin' and 'wp-content'), then go to 'wp-content->themes' and see what themes you have installed. You can dig around in the php files there to find the content being created. You'll need to play around with PHP if you want to learn more from there.
Related
As you can see from the picture, I have the site name that appears on top of my website and I want to remove it. The problem is that I can't figure out how to remove it. The variable is a text variable at the start of the body section. I went to edit the theme and I can't find that text, I tried to remove all the plugins I installed and still nothing, I can't really understand where to look to remove it.
Have you checked the header or the footer files of your active template ?
Also the overall configuration on the customizer side ?
If you already did all this, then let check the overall wordpress installation options over https://mytld.tld/wp-admin/options.php.
If you are still not successful then go to your database to consistently remove it!
Hopefully, this will help you by!
Ok, this is really strange. There is nothing in the source code as you can see with i.e. "view-source:https://damamma.net", so it's there because of a script.
Deactivate the Plugin PixelYourSite and check again.
I don't think it is caused by Wordpress itself, Elementor or the Theme.
I have a problem: I built a website with only raw code, and now I want to switch to a content management system like wordpress. I’d like to know how can I just upload all my code (html, css and javascript) without screwing up with the code on wordpress especially with php. Maybe do I need to find a blank theme, and for blank I mean a blank page. Any suggestion?
It depends on what you have. You should start with blank template and do part of the job, other part is to fill the content - it is possible to put there php by some plugins but it is not secure.
here you have template:
http://html5blank.com
Marco if you want to just migrate the site into wordpress and don't want to use wordpress to process any data and display it for you then migration is not difficult.
just start with any blank site ( I would start with underscores available at http://underscores.me/ ) and then just keep the index.php, functions.php and style.css to start with and then add components as and when required.
actually functions.php is not mandatory to get your WP site up and running but you can enqueue your JS and CSS files here
the topic is a very detailed one but if you need further assistance then do lemme know
I will strongly advise you to read Theme Handbook on Wordpress.org site
Hope this helps
Take care and Happy coding
The title says it. I renamed a page in wordpress along with the permalink (the slug also changed) and now I can't find it on my site.
The menu updated along with my changes, but the page content isn't there when I click on it.
Here's the offending page
If anyone can tell me what I did wrong and particularly how to fix it, I'd really appreciate it.
Thanks in advance!
Try regenerating permalinks - editing permalink settings triggers that regeneration.
Also, if you have any kind of cache plugin running, purge it's data too.
This was a conflict with a portfolio feature in my theme (Bello by WeGraphics)... I renamed the permalink and it works fine now
I am in the process of heavily customising a WordPress theme. The theme is quite complex so it is hard for me to identify how and where data is rendered from all the different files in the theme.
Is there a plugin for a browser which tells me what file in the theme a specific element is generated from?
please have a look at these plugins.
It will definitely help you.
[1] http://wordpress.org/extend/plugins/debug-bar/
[2] http://wordpress.org/plugins/debug-bar-template-trace/
Just install in your theme, and go to the page and trace it through this plugin, it will show you, from which file's code is executing right now...
Thanks.
The thing you'll find most useful, or at least the thing I've always found most useful, is the Wordpress template hierarchy.
It's a graphic that shows which files Wordpress will attempt to find to render a page of the site, for instance when showing a page, rather than a post, wordpress looks for a file called page-{id}.php (where {id} is the numerical id of the page) first, then page-{slug}.php, then page.php then index.php.
Using the hierarchy flow diagram, you can see which files Wordpress would try and in what order, and by comparing this to the files in your theme, you can quickly track down which file it is.
http://codex.wordpress.org/Template_Hierarchy - Scroll down to the image, it's the most useful bit.
I set up a site with WordPress using the automatic setup through a hosting provider. I am in WordPress, and it's working well in that I can create pages. However, when I go to view the page, it always defaults to the index page. So for example:
If I go to www.site.com/about
It goes to www.site.com
It does not show the inside pages. I cannot figure out why it is doing this. Any thoughts? I have set up new WordPress sites before and have not run into this problem. Did I miss a step in the set up process?
Any help would be greatly appreciated, thank you.
Without putting my hands on your site it is difficult. Is is possible for you to share a link to your site?
What theme are you using? Are you are using a custom theme? If so check if you have a file in your theme folder that is called page.php and that is not the same as your index file.
Try clicking on the page preview button from inside the page editor. Check the url to be sure it is the one you are expecting.
Have you adjusted the permalinks in your WordPress configuration? Double check that it is valid. Should be something like */%post_id%/%postname%/*
I hope some of that helped. try to give a little more info about you settings.