starfix
Forum Replies Created
-
Forum: Networking WordPress
In reply to: wrong link to wp-comments-postI finally found the error. There was a block from the server due to the “mod_security” mode.
I de-activated the “mod_security” from the cpanel and the problem was solved.Forum: Networking WordPress
In reply to: wrong link to wp-comments-postI also tried to do these tips:
– I de-activated all the plugins
– I changed the theme to a twenty-sixteen basic theme.
– I deleted the website after a backup and re-installed wordpress (with softacolous) and databaseThe problem is still there.
as I said in my former comment I tried to migrate to another server for a test and the there is no problem in this server
I called the hosting help center, he tried to comment and it’s worked perfectly!
So the problem ins’t for everyone.
How can I do?Thank you in advance for you help
Forum: Networking WordPress
In reply to: wrong link to wp-comments-postI noticed that migrating the website to another server will solve the problem. Thisi is not properly a solution… Maybe akismet plugin infects the comments template?
Forum: Themes and Templates
In reply to: images distorted with chromeI solved the issue inserting the images in a div…
I publish the changed code so it could be useful for someone.
$attachments = get_posts( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { echo ' <li>'; echo '<div class="imagebox">'; echo the_attachment_link( $attachment->ID, 'thumbnail', false ); echo '</div>'; echo '<p class="small-title">'; echo apply_filters( 'the_title', $attachment->post_title ); echo '</p></li> ';
[Moderator note: Please post code between backticks]
Forum: Themes and Templates
In reply to: images distorted with chromei’ve tried to solve the problem fo a while but nothing happened.
If I take off the apply_filters command for displayng the title and write a simple string of characters the problem remain the same:
??Forum: Themes and Templates
In reply to: images distorted with chromemaybe i have to recall the loop in some other way?
Here is my single.php loop:
` <div class="five columns">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h3 class="series">
<?php the_title(); ?>
</h3>
<?php print_excerpt(5000); ?> </div>
<?php endwhile; endif; ?>
<div class="padding20" />
</div>
<div class="settimo">
<ul class="cornice">
<?php
$args = array(
'post_type' => 'attachment',
'numberposts' => -1,
'post_status' => null,
'exclude' => get_post_thumbnail_id( $post->ID ),
'post_parent' => $post->ID
);$attachments = get_posts( $args );
if ( $attachments ) {
foreach ( $attachments as $attachment ) {
echo '<li>';
echo the_attachment_link( $attachment->ID, 'thumbnail', false );
echo '<p class="small-title">';
echo apply_filters( 'the_title', $attachment->post_title );
echo '</p></li>';
}
}
wp_reset_postdata(); ?>
</ul>
</div>`the link suggested in “https://www.ads-software.com/support/topic/131976” is a dead link…
:-((Forum: Fixing WordPress
In reply to: CGI Error With PagesI have the same problem and I tried to solve.
But the url “https://wordpress.pastebin.ca/893007” it returns a blank page too…