Forum Replies Created

Viewing 15 replies - 16 through 30 (of 45 total)
  • Forum: Fixing WordPress
    In reply to: xmlrpc.php slow?
    Thread Starter thelackof

    (@thelackof)

    Also, I found that of the 19 IP’s supplied by my host, one was my own ISP, 11 were attached to my CDN and 3 were from Google (15 total).

    The other four are:

    157.55.39.93 (which I believe is Microsoft, but not sure if I should unblock)
    207.46.13.70 (same as above)
    68.180.228.118 (yahoo but same story)

    199.21.99.194 (yandex – no idea what this is)

    I found that trilemas IP is 23.235.235.243 (did not show up in list that my host gave me, but I may have to look further into this myself).

    I am on a VPS server, which is supposed to remain up for 99.9% of the time.
    Is it okay that my host is allowing for my site and server to shut down so much because of reasons they are not able to pinpoint and are not trying to pinpoint?

    Should I change hosts?

    Forum: Fixing WordPress
    In reply to: xmlrpc.php slow?
    Thread Starter thelackof

    (@thelackof)

    Update: I received a pingback some time ago, could not find it until now when searching through trash mail.

    The site is here.

    Is this legitimate? and should I take the advice written on this random blog for my xmlrpc.php?

    Much of the article is gibberish to me but maybe someone on here can make more sense of it.

    Forum: Fixing WordPress
    In reply to: xmlrpc.php slow?
    Thread Starter thelackof

    (@thelackof)

    Your reply made more sense than any of the replies from my host combined.

    They did throw me a list of IP addresses in that same email I mentioned previously and told me “Please check your incoming traffic and if the traffic is not legit please block them.”

    The list included 19 individual IP’s, including my own if I quick-search for “what is my IP address”.

    I receive so much traffic that I am really clueless to how I am supposed to know whether these IP’s are legit or not, especially when my own is thrown in.

    How would you handle this situation? Should I simply block them all besides my own?

    and I will definitely look into the plugin you mentioned.

    Thread Starter thelackof

    (@thelackof)

    Found my answer here

    Thread Starter thelackof

    (@thelackof)

    Thank you, I am still trying to figure a lot of this out but you have lead me in the right direction thank you!

    Thread Starter thelackof

    (@thelackof)

    The image is placed from the gallery, but I may use the featured image instead if it makes it any easier.

    Thanks strottrot!

    Thread Starter thelackof

    (@thelackof)

    Note – I have found a few now that show posts from the same category but now I have a new problem. For some reason, the only category that each article is attempting to grab from is not the one related to the shown post. The scripts are all grabbing articles from one different category than that of which it should.

    I am placing the code in my sidebar, does this make a difference?

    Thread Starter thelackof

    (@thelackof)

    Otherwise, is there a way to show posts on my index page specifically from a category of choice?

    Thread Starter thelackof

    (@thelackof)

    Hey yeah your code is not on the site right now since the site goes white when I include it. The navigation works but I cannot get it to wrap around the entire box, so for now it’s only a text link.

    <?php previous_post_link('%link') ?>

    That’s why I need to convert the php link into a workable a href link to wrap around my div classes so that the entire box can be a clickable link, therefore I could style the div when hover and also so that I could have the arrows that I’ve created clickable.

    When I try the provided code in this thread, my entire page just goes white. No errors, nothing, the altered php just wipes my site.

    I’ve been meaning to remove the pagenavi.css though, it currently has nothing to do with my site and is just sitting in my functions. Thanks for reminding me!

    Thread Starter thelackof

    (@thelackof)

    Really no idea what is causing it but even the above is causing my site to go white.

    The website that I am working on is https://www.thelackof.com.
    The next and prev are only on my single pages (posts) and I currently have no CDN installed so all cache should be cleared.

    The page opens my header and then following is my next and previous links.

    <div class='prev-next'>
    <div class='contain'>
    
    <?php $prev_post = get_previous_post(); if($prev_post) { ?>
    <div class='prev'>
    <p><?php previous_post_link('%link') ?></p>
    </div>
    <?php }?>
    
    <?php $next_post = get_next_post(); if($next_post) { ?>
    <div class='next'>
    <p><?php  next_post_link('%link') ?></p>
    </div>
    <?php }?>
    
    </div><!-- contain -->
    </div><!-- prev-next -->
    Thread Starter thelackof

    (@thelackof)

    Yeah I had wanted the link to contain the div but when I use the code included above, my entire website just goes white. No error, nothing.

    Not exactly sure what logs to check as again I am not 100% knowledgeable when it comes to PHP.

    I also tried
    if( ! empty( $prev_post) ) { //code to run };

    but that doesn’t seem to help either.
    Really lost here.

    Thread Starter thelackof

    (@thelackof)

    Sorry for the late reply, I could not.

    Does the following look correct?

    <?php $prev_post = get_previous_post(); if($prev_post) { previous_post_link( '%link', '<div>%title</div>' ); }?>

    Should that work or am I writing it wrong?

    Thread Starter thelackof

    (@thelackof)

    Thank you Jose, I think your reply is on the right track, but I seem to be getting a white screen when I try to implement it within my containing php (probably should have included)

    This is what I have:

    <?php $prev_post = get_previous_post(); if($prev_post) { ?>
    <div class='prev'>
    <p><?php previous_post_link('%link') ?></p>
    </div>
    <?php }?>
    
    <?php $next_post = get_next_post(); if($next_post) { ?>
    <div class='next'>
    <p><?php  next_post_link('%link') ?></p>
    </div>
    <?php }?>

    How would I work your example within
    <?php $prev_post = get_previous_post(); if($prev_post) { ?><?php }?>

    I tried:

    <?php $prev_post = get_previous_post(); if($prev_post) { previous_post_link( '%link', '<div>%title</div>' ); }?>

    But I get a complete white screen. I tried another way and still white screen.

    Any clue?

    Thread Starter thelackof

    (@thelackof)

    Hi, I understand that which is something that I am doing now.

    I need to convert the link to an A href though so that I can put the link around my div, not my div around the link.

    Any way to do this?

Viewing 15 replies - 16 through 30 (of 45 total)