Quantcast
Channel: WordPress.org Forums » All Posts
Browsing all 112466 articles
Browse latest View live

wpismypuppet on "Output the image's filename only"

Are you already getting the URL of the image? Can you show a little code? If you already have the URL of the image in a variable like: <?php $image = pathofimage; ?> Then you can use the PHP...

View Article


kreegah on "taxonomy and term function"

I cheered to soon, the above works perfect for giving my product category different css. But I also have ?post_type=products to be viewed inside each category. How would I go by to add these into my...

View Article


Mitchellstringer on "multiple sidebar widgets in one box"

Hi, what i'm trying to achieve is 2 sidebar widgets in one box. the site is http://www.colchesterlaptoprepair.com on the right sidebar is "Contact Information" then the "contact us" form, i am trying...

View Article

vtxyzzy on "Sorting second level of custom fields"

You will need to use a filter to alter the sort order. Try adding these lines before your $args setting: function mam_posts_orderby ($orderby) { global $mam_global_orderby; if ($mam_global_orderby)...

View Article

vtxyzzy on "taxonomy and term function"

Please post your current code.

View Article


kreegah on "taxonomy and term function"

function change_stylesheet_uri( $stylesheet_uri, $stylesheet_dir_uri ) { if (is_tax( 'product_categories', 'grunnmur' )) return $stylesheet_dir_uri .'/grunn.css'; elseif (is_tax( 'product_categories',...

View Article

liminaldreams on "Help Please - Page Template Missing"

hello. i just followed instructions to edite the footer on my site and can no longer access the site at all. this is what i see: Parse error: syntax error, unexpected T_STRING in...

View Article

DOOMNEZEU on "Error : WIdgets posted after post! How to fix this?"

Fixed : Deleted theme and reinstaled !! Simple! Sorry for the stupid question about reinstall! Anyway are great this wordpress!! I hope not problem to have in the future! Thanks for usefull tips!

View Article


ceshmeel10 on "CSS Changes aren't showing in Child Theme"

here's one of the pages, http://aquatell.co.za/dosing-pumps-2, the main domain still has the original holding page content, I followed a video online on how to set up a child theme, but ya, not...

View Article


wpismypuppet on "Permanent URL Redirect"

If you are running on an Apache server with rights to create an .htaccess, all your problems will simply vanish! Follow these rules: http://jesperastrom.com/seo/how-to-do-a-htaccess-301-redirect/ We've...

View Article

vtxyzzy on "taxonomy and term function"

I think you can use get_query_var(): elseif ( get_query_var('post_type') == 'products' ) // Return the desired stylesheet;

View Article

vtxyzzy on "Have unwanted widgets"

It is very difficult to diagnose this type of problem without being able to view the site. If you post a link to your site, someone may be able to help you.

View Article

keesiemeijer on "creating a function-php"

That heme has a functions.php. If you are using a child theme create and upload (FTP) a new functions.php to your child theme's directory with only the footer widgets code in it inside php tags:...

View Article


Vedrana on "Can't enter as an admin to dashboard"

Thanks!So I need this page http://codex.wordpress.org/images/6/61/options-general.png but how shall I access to this page?

View Article

Abhishek Ghosh on "500 Internal Server Error - .htaccess, plugin, and theme...

I understood you fixed it, I saw it is working. You can check the date of modification of the files in FTP - that will give you more file specific date of modification. FTP is probably not required in...

View Article


vtxyzzy on "Using do_shortcode() with variables?"

I don't know what [php snipped=1] is supposed to do, but most times shortcodes return a value and you must echo them to output the value to the screen. Try this: <?php echo do_shortcode('[php...

View Article

now on "pagination broken when excluding latest post on homepage"

Hello, I have a question about the pagination. When I try to exclude the latest post on the home page of my blog, everything looks good. I mean I have the latest post displayed in a special way, with a...

View Article


JeffChambo on "Edited new page via ftp, not updating in WP admin"

I added a new page template via WP admin, then have edited and updated the page using an html editor and ftp client. Now, when I navigate to the new page via the admin UI I'm not seeing the latest...

View Article

mya78 on "everything started with a "ERROR ESTABLISHING A DATABASE CONNECTION""

Hi! Since few days the website was down and showed the above message. Nobody modified anything, it simply started to give the error. I followed some instructions found in this forum, and added the...

View Article

ClaytonJames on "Can't enter as an admin to dashboard"

I'm not quite sure how you came to that conclusion. Please begin by reading this page: Changing The Site URL, perhaps starting this time specifically below where it says: "There are four easy methods...

View Article
Browsing all 112466 articles
Browse latest View live