Wordpress
#1
Posted 07 February 2012 - 07:49 PM
As i am having problems trying to amend things as not so good at php.
any help or tips on how to do it.
thanks
#2
Posted 07 February 2012 - 08:45 PM
David Cook, on 07 February 2012 - 07:49 PM, said:
As i am having problems trying to amend things as not so good at php.
any help or tips on how to do it.
thanks
Hi,
I use WordPress in almost all my projects. It's great to use, and you can edit the HTML and CSS of theme's if you want. medling with the PHP is fun and you will learn as you go along.
Google for whatever PHP snippet you may need - there's plenty of tuts out there.
#3
Posted 08 February 2012 - 12:42 PM
I got a theme i want to use. However I have amended some in the wordpress admin, but cant change any of the text. All the files are php and not sure how to edit them with the text I want.
Thanks
#4
Posted 08 February 2012 - 01:01 PM
#5
Posted 08 February 2012 - 01:05 PM
I would recommend you do not replace tags with hard coded text.
#6
Posted 08 February 2012 - 01:13 PM
the theme is there and i have amended some that i could using the admin section.
When i look at the editor i have all the files down the right hand side.
but if i click them they only show the tags.
can someone look and let me know if they can.
thanks
#7
Posted 08 February 2012 - 01:22 PM
#8
Posted 08 February 2012 - 01:26 PM
hope that makes sense.
#10
Posted 08 February 2012 - 01:31 PM
#11
Posted 08 February 2012 - 01:37 PM
If you are going to start editing files via notepad++ you need to get at least a basic understanding of PHP.
#14
Posted 09 February 2012 - 02:07 PM
Just stick with it.
#15
Posted 09 February 2012 - 06:00 PM
Its hard to help you find this text that you want to change when I dont know what you want to change.
For example if you want to remove something from your header you would look in the header.php file and not the index.
But that is only if you are looking to remove something that is "hard coded" into the theme.
I am guessing who ever developed this theme has made it so that its easy to replace stuff, so have you looked in all the options of the theme for what you want to remove/replace.
go through all the content types (pages and post) and if there are more that the theme has put in go through all of those too. Then delete all the pages if its still there you can restore the pages.
Go to the widgets and and remove all the widgets if there arnt any widgets add a widget. Some themes have "hard coded" widgets in them and they "go away" when you add a widget of your own.
If you cant find it you may want to take a screenshot of the piece you are having problems with, circle it with a red pen and post it so we can see exactly what is giving you problems. Then we can start to help you with this.
#17
Posted 10 February 2012 - 06:29 PM
Changing format of a page: means either putting some structural markup in the Write panel, or extensively hacking the admin interface.
#18
Posted 10 February 2012 - 07:02 PM
i dont understand what u mean?
#19
Posted 10 February 2012 - 07:11 PM
Otherwise what it displays depends on what sort of page template is in use.
#20
Posted 13 February 2012 - 09:36 AM
Thanks
#21
Posted 13 February 2012 - 11:48 AM
The page looks like it does as Wordpress uses a database for the content and other aspects of the pages. This is called for by the PHP and as such most of the pages aren't the same as HTML pages. All the pages however will be referenced somewhere in the codes as Brightonmike said use the Wordpress codex on Wordpress.org to understand the site a little bit more.
#22
Posted 16 February 2012 - 12:32 PM
Unless you actually want to change the theme itself...in which case thats beyond me other than re-skinning it with new images
Help

























