jjrocket
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Error on Paypal Standard checkout stopped workingThanks for the reply. I entered the email address several times, double checked, triple checked. It’s not sandbox and the paypal account is active and working. Everything was working before and we did not make any changes.
I also tried a different paypal account with a different email address and I get the same error on checkout.
These are screenshots that should show the problem.
https://s27.postimg.org/qttigdlv7/capture2.jpg
https://s27.postimg.org/nygf9ihv7/Untitled_1.jpgActually, I think my php is correct.
The problem is that the shortcode is pulling the Attachment ID instead of the URL for the custom field value.
I’m using Advanced Custom Fields plugin and I have File URL specified for the field.
I can’t figure out what the problem is.
Forum: Fixing WordPress
In reply to: Hacked – rogue files regenerating in wp-adminFurther updates…
1. Changed location of wp-login
2. Installed wordfence
3. Changed all admin passwords
4. Fresh set of wp-admin and wp-includesThe rogue files have stopped being created for the last hour. BUT the main issue that made us think we had a problem is still there. The Warning: for the template-loader.php and some pages on the site are not loading.
Forum: Fixing WordPress
In reply to: Hacked – rogue files regenerating in wp-adminI did some further searching in my database for anything… base64, eval, strrev, all that stuff. Came up empty.
Forum: Themes and Templates
In reply to: Adding form code to sidebar.phpThat was the problem – it works now! Thank you.
Forum: Themes and Templates
In reply to: Custom Post Pagination disappeared after updateI was able to install the WP pagenavi plugin in the template and that is working.
endwhile; echo '<div class="navigation">'; wp_pagenavi(); echo '</div>'; wp_reset_query();
Bizarrely, parts of the other pagination system are popping up around it.
Forum: Themes and Templates
In reply to: Custom Post Pagination disappeared after updateHere is the relevant stuff from functions.php
function wds_prev_next_media_pagination_links( $wp_query, $directory='' ) { $page = (get_query_var('paged')) ? get_query_var('paged') : 1; $directory = ( $directory ) ? $directory : '/media/tv'; echo '<div id="media_nav">'; $max_page = $wp_query->max_num_pages; $next_page = intval($page) - 1; if( $next_page >= 1 ) echo '<a class="nav_prev" href="' . get_previous_posts_page_link() . '">« Previous</a>'; for($i=1;$i<=$max_page;$i++) { if($page != $i) echo ' <a href="' . site_url() . $directory .'/page/' . $i . '">' . $i . '</a> '; else echo ' <span class="nav_cur">' . $i . '</span> '; if($i<$max_page) echo '|'; } $max_page = $wp_query->max_num_pages; $next_page = intval($page) + 1; if( $next_page <= $max_page ) echo '<a class="nav_next" href="' . get_next_posts_page_link() . '">Next »</a>'; echo '</div><!-- /#media_nav -->'; echo '<div class="clear"></div>'; }