pimos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Subpage permanent-link out of blogThank You very much for your help ??
regardsForum: Fixing WordPress
In reply to: Missing widget when getting back to old themeI was trying this way but it is still doesn’t work. Any idea ?
Thanks in advanceForum: Themes and Templates
In reply to: can anyone decode this pleaseIt really pisses me off or I am really blind trying to decode my footer. I was trying to use all mentioned decoders but it doesn’t work at all. Anyone could help me to decode this :
<?php $Zd5326bf0a78a77e626a105509fe7ba56='hc6xboMwEIDhHSnvcGLIVmgzGseoSscueQSDDbbk+Cx8KeXta4chIYrU6e7+4fS1gtfK/ohdsSt4WsCqYzkgkp7Ke4y0OJ26Q0kMJjsaaiBIpawf324ng4/38HuPhIHBIaf1zb7HsDTAJZhJD8fSEAVW1/M8V/JKmB77qKseL6X4TDd8pwDna3JEXstVsoVuTU4PD6R8/Sf60tGOnt3+Pan65PG909JXncNxWl2nXOGUc9QZtfddDA1sxhP05dahWkReDF2caAVvgwnFHw==';eval(gzinflate(base64_decode($Zd5326bf0a78a77e626a105509fe7ba56))); ?>
thanks in advanceForum: Themes and Templates
In reply to: Im Using Pyrmont V2 and trying to change my header.krom8
I would like to thank you for help. In fact I am rookie so php is still black magic for me. Thanks a lot again for your support.regards form Poland
PIMOSForum: Themes and Templates
In reply to: Im Using Pyrmont V2 and trying to change my header.I would like to have the content of the posts to the category list, by clicking on the category I would like to have the posts in this category devided by pages (newest posts and older posts )
Which command and parameter is responsible for this ?
with my best regards
Forum: Fixing WordPress
In reply to: pyrmont-v2 categories head links help needed for rookieClear now. Unfortunately I do not know all php commands, so maybe you’re able to indicate the part of the code to change.
$lastpost = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_date <'" . current_time('mysql') . "' AND post_status='publish' AND post_type='post' AND post_password='' ORDER BY post_date DESC LIMIT 1"); $output = get_option('hfy_archives_'.$lastpost); if(empty($output)){ $output = ''; $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE 'hfy_archives_%'"); // Get all of the months that have posts $monthquery = "SELECT DISTINCT YEAR(post_date) AS year, MONTH(post_date) AS month, count(ID) as posts FROM " . $wpdb->posts . " WHERE post_date <'" . current_time('mysql') . "' AND post_status='publish' AND post_type='post' AND post_password='' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC"; $monthresults = $wpdb->get_results($monthquery); if ($monthresults) { // Loop through each month foreach ($monthresults as $monthresult) { $thismonth = zeroise($monthresult->month, 2); $thisyear = $monthresult->year; // Get all of the posts for the current month $postquery = "SELECT ID, post_date, post_title, comment_count FROM " . $wpdb->posts . " WHERE post_date LIKE '$thisyear-$thismonth-%' AND post_date AND post_status='publish' AND post_type='post' AND post_password='' ORDER BY post_date DESC"; $postresults = $wpdb->get_results($postquery); if ($postresults) { // The month year title things $text = sprintf('%s %d', $month[zeroise($monthresult->month,2)], $monthresult->year); $postcount = count($postresults); $output .= '<p style="margin-bottom: 10px;">' . $text . ' (<span class="archivesnumber">' . count($postresults) . '</span>)</p>'; $output .= "<ul class='archiveslist'>\n"; foreach ($postresults as $postresult) { if ($postresult->post_date != '0000-00-00 00:00:00') { $url = get_permalink($postresult->ID); $arc_title = $postresult->post_title; if ($arc_title) $text = wptexturize(strip_tags($arc_title)); else $text = $postresult->ID; $title_text = 'e_(\'Read Post "\', \'pyrmont_v2\'' . wp_specialchars($text, 1) . '"'; $output .= ' <li>' . mysql2date('m-d', $postresult->post_date) . ': ' . "<a href='$url' title='$title_text'>$text</a>"; $output .= ' (' . $postresult->comment_count . ')'; $output .= "</li>\n"; } } $output .= "</ul>\n\n"; } } update_option('hfy_archives_'.$lastpost,$output); }else{ $output = '<strong>'. __('ERROR:') .'</strong> '. __('No items were found to be displayed.') .'';
I got feeling it could be this one :
$text = $postresult->ID;
regards
Forum: Themes and Templates
In reply to: Im Using Pyrmont V2 and trying to change my header.may I have another question regarding the same theme, the point is what part of code in which file is responcible to show whole post in category group, not the shortcut only ( the head of the post ).
regards
PIMOSForum: Fixing WordPress
In reply to: pyrmont-v2 categories head links help needed for rookieThanks a lot for your suggestions.
There is no category.php file in this theme at all.
In archive file I did not find the part od code could be have impact, in index file I got somes :<div class="postmeta"> <?php _e('Category', 'pyrmont_v2'); ?>: <span class="category"><?php the_category(', ') ?></span> / <?php $tag = get_the_tags(); if(!$tag){ echo __('Tags: no tag /', 'pyrmont_v2'); } else{ ?> <?php _e('Tag', 'pyrmont_v2'); ?>: <?php the_tags('<span>',', ','</span>'); ?> / <?php } ?> <span class="comments"><?php comments_popup_link(__('Add Comment', 'pyrmont_v2'), __('1 comment', 'pyrmont_v2'), __('% comments', 'pyrmont_v2')); ?></span> <?php edit_post_link(__('Edit', 'pyrmont_v2'), ' / ', ''); ?> </div><!-- end postmeta --> </div><!-- end title --> <div class="clear"></div> <?php if (!(is_tag()) && !(is_category())){ ?> <div class="entry"> <?php the_content(__('</p><p>Read More >></p>', 'pyrmont_v2')); ?> <div class="clear"></div> </div><!-- end entry -->
Is there any part responsible for displaying the head only ?
regards
Forum: Fixing WordPress
In reply to: Cannot upload media due to lack of temporary folderIT WORKS ??
Thanks Ipstenu for your help for rookie ??Forum: Fixing WordPress
In reply to: Cannot upload media due to lack of temporary folderI’d like to add I was carefully checked sticky topic
Anyone have an idea how to solve it ?
thanks in advanceForum: Fixing WordPress
In reply to: Moving my siteThank YOu, it helps me too ??