- This topic has 26 replies, 3 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
February 6, 2023 at 2:09 pm #2523718
Bob
At the bottom of my posts the images (for other posts) don’t show and I get the following code showing above where the images should be:
1, ‘include’ => $prevPost->ID ); $prevPost = get_posts($args); foreach ($prevPost as $post) { setup_postdata($post); ?>
PREVIOUS
1, ‘include’ => $nextPost->ID ); $nextPost = get_posts($args); foreach ($nextPost as $post) { setup_postdata($post); ?>I would send a screen image, but don’t see how to attach one.
Please tell me how to fix this.
Regards,
Bob
February 6, 2023 at 3:28 pm #2523775Ying
StaffCustomer SupportHi Bob,
Any chance you can provide an admin login using the private info field so we can take a look at the backend?
February 6, 2023 at 4:27 pm #2523809Bob
See private information.
February 6, 2023 at 4:36 pm #2523817Ying
StaffCustomer SupportYou can use support@generatepress.com 🙂
February 6, 2023 at 4:50 pm #2523826Bob
OK. You should have an email coming to you with login details.
February 6, 2023 at 4:51 pm #2523827Bob
See private info in case you didn’t get the login URL.
February 6, 2023 at 6:45 pm #2523889Fernando Customer Support
Hi Bob,
Can you set the password for the created user, and share the credentials here through the Private Information field?
February 6, 2023 at 7:02 pm #2523908Bob
See private information
February 6, 2023 at 7:05 pm #2523910Fernando Customer Support
I tried logging in, but the password shared isn’t working. Can you check?
February 6, 2023 at 7:50 pm #2523938Bob
I don’t know why it didn’t work. I sent you a link so that you can reset the password. Let me know if you don’t receive it.
February 6, 2023 at 8:11 pm #2523953Fernando Customer Support
We got it.
PHP isn’t being executed. You can try doing this: https://docs.generatepress.com/article/generate_hooks_execute_php/
Adding PHP: https://docs.generatepress.com/article/adding-php/#code-snippets
As an alternative, you can also try using a Block Element – Post Navigation instead. See: https://docs.generatepress.com/article/block-element-post-navigation/
February 6, 2023 at 8:14 pm #2523954Bob
Are you able to log in?
February 6, 2023 at 8:18 pm #2523957Fernando Customer Support
Yes. Kindly check my response here for the solution: https://generatepress.com/forums/topic/problem-at-bottom-of-page/#post-2523953
February 6, 2023 at 8:34 pm #2523962Bob
I can’t find the functions.php file.
I was looking for it like this: WP Admin Dashboard > Appearance > Theme Editor (but there is nothing that says, “editor.”
I was going to add the following code per your instructions above: add_filter( ‘generate_hooks_execute_php’, ‘__return_true’ );
How do I find the functions.php file?
February 6, 2023 at 9:00 pm #2523975Bob
Are you still there, Fernando?
-
AuthorPosts
- You must be logged in to reply to this topic.