Category Archives: Wordpress

Modificati lungimea EXCERPT-ului in thema Twentyten in WordPress

Deschideti functions.php si modificati pentru un excertpt mai lung:

function twentyten_excerpt_length( $length ) {
return 40;
}

in

function twentyten_excerpt_length( $length ) {
return 140;
}

(de exemplu)

Ascundeti link HOME in thema Twentyten in WordPress

Deschideti fisierul functions.php si modificati:

<?php
function twentyten_page_menu_args( $args ) {
$args['show_home'] = true;
return $args;
}
?>

in

<?php
function twentyten_page_menu_args( $args ) {
$args['show_home'] = false;
return $args;
}
?>

Modificare descriere link HOME in thema Twentyten in WordPress

Cautati in fisierul “functions.php” liniile:

<?php
function twentyten_page_menu_args( $args ) {
$args['show_home'] = false;
return $args;
}
?>

Modificati :

$args['show_home'] = true; in   $args['show_home'] = “noua denumire”;

Solution for WP E-commerce 500 Internal server error

I encountered a error “Error 500 – Internal server error « WP e-commerce ” when using WP3.1.3 and WP E-commerce 3.8.4

I read numerous posts regarding this issue, obviously with no concrete answer and solution. Most of the answers rely on specific settings from 1&1 hoster.

My problem was solved through a small setting tooked in the “Store settings” in the WP Admin Panel.

Set “SORT PRODUCT BY” on any other from the 3 available, not DRAG AND DROP. This solved my issue.

Screenshots follow.

After installing WP E-comemrce (the procedure is simple, no need to explain, you landed on this page because you have it allready installed, and have the error:( ), you setup your store.

then you go to the “Presentation” Tab.

And, of course you choose DRAG-nDROP……

This is the result you obtain “500 Internal server error”:

Now, to solve the problem, go back to “Store”, and choose for “Presentation” tab, for example “Name”, avoid Drag-n-DROP, allthrough it sounds cute :)

, and UPDATE

Now , if you go back in your Admin Panel in WordPress, you can acces without the obvious error, your submenue for products:

QED:

Maybe some bloke, could find this usefull.

Cheers. (There is no spoon…)