sidarcy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Blog Permalinks not workingthe blog url is helddesign.ie/blog
Forum: Fixing WordPress
In reply to: Error establishing a database connectionHi Guys
I am new to WordPress but have made my own CMS’s before so have ran into similar problems.
At the end of the day, everything is in the SQL Database.
I ran into this problem after i removed the URL from the settings, I dunno why this happened!
I fixed the problem by logging into PHP My Admin
In your Database go to the table wp_options
When in here click browse, this lists all the information
You will notice the site URL value is blank.
Click the edit button(looks like a pencil) and re input your URL into the Value text area and click save.
Alternatively in the SQL Console add the following line
UPDATE
YOUR DATABASE NAME.wp_optionsSEToption_value= ‘http://YOURURL’ WHEREwp_options.option_id=2 LIMIT 1 ;ps: careful when copying the above line as the quotes may need to be re-entered
Forum: Fixing WordPress
In reply to: Displaying Text based on Parent Page’s Name/SlugSpent ages looking for how to display the parents children NOT current page children on a consistent menu across a portfolio site.
This post helped
Thanks
$parent_id = $post->post_parent;
wp_list_pages(“title_li=&child_of=72&iddepth=1”);