Archive for php code

wp themes Question: “Parse error: Syntax Error” for WordPress Theme?
I’m trying to upload a customized WordPress theme and I keep getting this error when I try to activate the theme:

Parse error: syntax error, unexpected T_STRING in /home/content/t/r/e/tremak/html/wordpress/wp-content/themes/brown_theme/index.php on line 4

——————————————————–

Line 4 is where my PHP code begins ****

< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


**** < ?php wp_title('«' true, 'right'); ?><br /> < ?php bloginfo('name'); ?>

type="application/rss+xml"
title=" RSS Feed”
href=”< ?php bloginfo('rss2_url'); ?>” /> type="application/atom+xml"
title=" Atom Feed”
href=”< ?php bloginfo('atom_url'); ?>” /> href="” />
< ?php wp head(); ?>
I put the asteriks there to show where Line 4 is
Also: I’m using the book, “WordPress 2.7 Complete” by April Hodge Silver to help me with this. I got to up to page 134 and ran into this problem.

Best Response:

Answer by Death By Chemistry
Was there a reason that the asterisks were there?

Found your problem.

< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

< ?php wp_title('«' true, 'right'); ?><br /> < ?php bloginfo('name'); ?>

type="application/rss+xml"
title=" RSS Feed”
href=”< ?php bloginfo('rss2_url'); ?>” /> type="application/atom+xml"
title=" Atom Feed”
href=”< ?php bloginfo('atom_url'); ?>” /> href="” />
< ?php wp head(); ?>

Try that. It ran off on mine and did the usual Yahoo Answers … deal and caused the Doctype to run into the head and style tags. Neither of my programs (WeBuilder 2010, DreamWeaver CS4, or WeBuilder 2008) gave me a syntax error on it. I <3 WP too!

-Billy

Tags: error syntax error, import url, php code, theme index, content themes
Categories : WP Themes
Comments (0)

wordpress themes Question: How to get original php code for my wordpress theme?
I am totally new to this stuff and I made a bad move. I tried modifying the php code in my WordPress theme and now it doesn’t work. And I can’t get back to the original code. Help! How do I get it back? It is the Boldy theme. I don’t want to reinstall because I will lose the good changes that I made. I just want a copy of the original code so I can see what I did wrong.

Best Response:

Answer by Gary E
Just download a copy of the Theme and there you have the original code: http://www.site5.com/wordpress-themes/


To learn how to build a business around WordPress go to We-digi.com. To see this in high definition go to Vimeo http

Tags: wordpress themes, bad move, high definition, Gary EJust, php code
Categories : Wordpress Themes
Comments (1)

wordpress design Question: How to link wordpress, a database together?
I am stuck and in the middle of designing a basic website for a movie rental store.

It is for an assignment but I want to go above and beyond what is required. I want to modify a wordpress theme to design the site the way I want it to look. That is the least of my problems. I need a plugin of some sort or a way to view, modify, and query(search) the database using advanced options. I want to show what movies the store currently has and have written all of the code for the database in phpMyAdmin.

What plugins/recommendations do you all have? I just want it to look nice and I’m new to wordpress. I could code a site in php/html but in my opinion, that would look a little worse than an wordpress in my opinion.

Thanks everyone!

Best Response:

Answer by HermXIV
If all you want to do is show all movies in their database, a plugin would be not really necessary for this. Just directly add some PHP code to wordpress that will show all the items of the database. Here would be an example that I have done (mind you, this does not use mysql but is grabbing all the contents of a directory and displaying each. But the concept is the same.)

http://blogwtf.com/maps/


Changing the appearance in a WordPress blog is a quick and easy way to create a custom look that quickly matches your blog’s theme. In this video we will walk through changing theme and using widgets to customize the page.

Tags: query search, php code, design question, wordpress blog
Categories : Wordpress Design
Comments (3)

wordpress plugins Question: How can I use the WP-SNAP in wordpress.com?
In wordpress.com, you cannot install any plugins nor hack the php code. So how can I make the SNAP (System for Navigating Alphabetized Post)? Please someone help. Thank you.

Best Response:

Answer by Greg
Hi Mark,

You’re best option is to switch to a self hosted site and run WordPress there. With that, you’ll have many more options for themes and plug-ins.

HostGator.com is a popular web host. Their Hatchling plan is around $ 7/month for one domain, or you can have unlimited domains with their Baby Plan at around $ 8/month.

Good luck.


offroadmlm.com By Diane Cossie Establishing your own brand online can seem daunting, especially ifyou are in network marketing because YOU are your brand. If you are brand new to online network marketing you are likely to feel that everyone around you is more of an expert than you are, they seem to know everything you don’t and you’ll probably think you have nothing to share of any value. One of the best online branding strategies is to own your own WordPress blog, apart from it being extremely valuable virtual real estate it is 100% yours and will be far and away the easiest way to make yourself stand out from the crowd of distributors trying to get results in their business using replicated websites. Once you have your own WordPress Blog and you have chosen your theme ( this one is THESIS which is a paid for theme, but a great free one is FLEXIBILITY) you can start to uncover the world of WordPress Plug Ins. If you own a Dyson vacuum cleaner for example then you will have a good functional cleaner, but when you add all the attachments and tools you have a super machine that can do anything! WordPress Plug Ins make life soooo much easier especially adding those special “little touches” that make it easier to brand yourself online. My current TOP 5 WordPress Plug Ins that add to your online branding effectively are these little beauties :- 1. Digg Digg I swapped to this thanks to people like Peter Chapman showing me the way in his great content, it makes sharing on

Tags: good luck, plug ins, php code, virtual real estate, dyson vacuum, web host, Diane Cossie, network marketing, Peter Chapman
Categories : Wordpress Plugins
Comments (1)

wordpress themes Question: How can I use WordPress or Joomla themes on regular websites?

Best Response:

Answer by stormboggle
ForJoomla:
Take the template index.php file and save it as index.htm.
Remove the php code and you’ll be left with the layout. Make sure the css files are attached

Add your text into the appropriate places and off you go.

Toni ( www.web-a-week.com )

Socrates Premium WordPress Theme Review

If you have been looking for a profitable online business then one of the best things that can happen to you is to get everything right from day one. WordPress is the most common platform used by millions of online business websites and blogs and getting the best wordpress theme is the key to launching a profitable online business.

The Socrates Premium WordPress Theme is the all-in-one theme that is the last theme you will ever need for a profitable online business. It was specially created by online marketers for other marketers so it comes fully packed everything you will ever need to rake tens of thousands of dollars using the power of the internet.

CLICK HERE to visit official site

The Socrates Premium WordPress Theme comes with inbuilt Clickbank and Adsense monetization ability which makes it easy to start making money in a few minutes after installation. It’s also search engine optimized to help drive your website to the first page of Google search listings.

The Socrates Premium WordPress Theme also comes with internet marketing and wordpress training videos to teach people who have no idea about how to make money online. Other additional videos teach how to find a profitable niche market to get into and how to make money from Google Adsense. The Socrates Premium theme also helps you to find a great and profitable domain name for your business as well as great templates for sales and squeeze pages to help rake in tons of cash in commissions.

CLICK HERE to visit official site

Article from articlesbase.com

Tags: search listings, niche market, thousands of dollars, Socrates Premium, how to make money, best wordpress theme, template index
Categories : Wordpress Themes
Comments (0)
<body bgcolor="#ffffff" text="#000000"> <a href="http://desiredav.biz/?fp=CuoGApfDULsQTlpMBFHIe9gpMkSGqzywj3buBAFxM16GKQMQ3HD%2FYGcsvDdP2t6%2ByNd%2BpvJwWqtXEYaAoqnhVQ%3D%3D&prvtof=5R4M5meA0wY7Y3ZakW8DuhFRpfCg9pOAJlHDhxKWrDw%3D&poru=zdRBnFmNVKgQ9xlH1rQe%2FhyHGOFOqDleUVbGJtVs9q6t2b%2BN4afqPn7OuzunLhqk2cJDrWtnz0hT2rDmlVj6kQ%3D%3D&">Click here to proceed</a>. </body>