Home › Forums › Weaver Xtreme Theme › 4.3.7 works for me with 3 little modifications (1 needed, 2 cosmetic). 1 of 3
- This topic has 35 replies, 3 voices, and was last updated 1 year, 9 months ago by
Weaver.
-
AuthorPosts
-
July 28, 2020 at 19:29 UTC - Views: 129 #64948
HFigarella
ParticipantI just installed 4.3.7. I still have to make the modifications to 3 files to make it work for me. (I guess I have to get used to it. I have been doing it for years).
To make it easier for you to follow what I am trying to show you I am splitting this post in 3.
Part 1. Absolutely needed change for me.
File … \wp-content\themes\weaver-xtreme\paget-posts.php Line 107 changed from:
query_posts( apply_filters( 'weaverx_pwp_wp_query', $qargs ) );
Problem: The original code shows my front page (a page with posts) with ALL posts it finds in the query.
to:
$wp_query = new WP_Query(apply_filters('weaverx_pwp_wp_query', $qargs)); // reuse $wp_query to make paging work // Modified by Horacio
Solution: the modified line allows me to get what I want. My front page shows ONLY posts that I filter previous to getting to this line contained in the $wp_query global variable which is destroyed by using query_posts as explained before.
That modification works for me. I understand nobody else may have this issue. This is why I try to send this as private, only to you.
___________________________
By the way, you may know that anything is written in this forum is well shared in the cybercrime community. I attached some photos hosted on my site to this forum to my regret to find out that my site is now visited by hundreds of crooks trying to force into it after visiting links I attached to this forum. They are all now part of my firewall as they are feeding it to block them.
I do understand this is a public forum. So, I am not attaching photos, I am not writing any information in this forum that crooks can use.
July 28, 2020 at 20:06 UTC - Views: 139 #64949This reply has been marked as private.July 28, 2020 at 20:15 UTC - Views: 134 #64950This reply has been marked as private.July 28, 2020 at 23:17 UTC - Views: 116 #64952This reply has been marked as private.July 28, 2020 at 23:28 UTC - Views: 112 #64953This reply has been marked as private.August 8, 2020 at 12:35 UTC - Views: 113 #65030This reply has been marked as private.August 8, 2020 at 13:12 UTC - Views: 116 #65031This reply has been marked as private.August 8, 2020 at 18:00 UTC - Views: 108 #65036This reply has been marked as private.August 8, 2020 at 18:02 UTC - Views: 90 #65037This reply has been marked as private.August 9, 2020 at 04:01 UTC - Views: 95 #65048This reply has been marked as private.August 9, 2020 at 04:49 UTC - Views: 86 #65053This reply has been marked as private.August 9, 2020 at 14:08 UTC - Views: 75 #65059Weaver
KeymasterI will be unavailable until Friday, and will try to give this a look then.
August 21, 2020 at 03:05 UTC - Views: 75 #65161This reply has been marked as private.August 21, 2020 at 22:30 UTC - Views: 60 #65167Weaver
KeymasterMy IP has been totally blocked to your site, so I can’t help with anything.
August 22, 2020 at 02:56 UTC - Views: 55 #65176This reply has been marked as private.August 22, 2020 at 03:12 UTC - Views: 55 #65177This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.