Forum Replies Created
-
AuthorPosts
-
December 8, 2016 at 12:33 pm in reply to: Illegal string-warning from config-wpml/config.php #721909
Hi
I have the same issue!
Starting new thread
Hello
I resolved the issue. the thing is that inthe postlider.php you have already declared a variable for get_the_id() – called $the_id
So the correct code is:
$output .= get_post_meta($the_id, 'pris', true );
- This reply was modified 8 years, 2 months ago by grafixstudio.
Hey, they told me to contact you again.
I believe they are right….Guys, listen…the keys work fine..If you check inside a post: http://dentalmarknaden.se/utrustning/mobiltelefon/ you will see where it says:
“Pris 1200kr”
That’s the value of the field pris that we are talking about. So it works. But not in the post-slider. So it’s inside Enfold where the problem is….
I’m using a plugin called AccessPress Anonymous Post Pro and that is what I need to use. It generates the key called “pris”
But really, is it correct to just type in: $output .= get_post_meta( get_the_ID(), ‘pris’, true ); ??This is supposed to show the price on the front page. Where in this code does it fetch the information from the post in question?
Example: First column is a preview, an excerpt. Inside this post are all the keys, right?
With the code above, nothing is saying “get the information from inside the post”.
Do you know what I mean?
- This reply was modified 8 years, 2 months ago by grafixstudio.
Yes, I did this now but nothing happens?
Any answer?
You misunderstand
I need to know what file I need to edit and insert the field. I have managed to insert it in the single.php file, but I also want to show the price in the front so I need to know what file controls the grid blog layout.
<?php echo get_post_meta( get_the_ID(), 'pris', true );?>
This is what I’ve put in the single.php. Where do I put it so it shows up like the picture I sent you?
Do you get me?
The key: http://imgur.com/a/vD1rx
I want it visible here: http://imgur.com/a/wFgkbYes, it’s on this website and all of it’s sub-pages
I want to display a custom field within the box (post).
The custom field is of course set inside the original post.How do I do that?
Hello!
This is all great but what happens with the changes in functions.php when Enfold is later updated?
I’m using child-theme but when I insert the above functions in the child themes functions.php they don’t work. They only work in parent theme functions.php.Ok but what about this other site with same updates
Maps are gone. Many websites suffer from trouble with JS now with WP 4.5 update.Hey!
I noticed that you’ve updated the theme but the problem still remains.
Why is this and how can I fix this?Yes we have. You have access you could try it yourself, that is what you offered.
But you DO understand that the menu get stuck right? We believe this happens because we use anchor links. So it obviously needs to be configured so that the menu “retracts” and/or goes back to hidden position after pressing menu button with anchor link…
Hello again..updated manually now and problem remains….
Could you please try and log in again?????Oh yeah sorry, login page is inprivate content.
Yes that helped thank you very much!
It’s not always down check again and help us with this problem.
OK but like I said can you try it on Safari? That’s where we get the problem!
Hi it’s up again can you cehck??
Yes you may have admin access and deactivate for testing purposes!
- This reply was modified 8 years, 10 months ago by grafixstudio.
Hello
theme is updated, problem still remains…
Ok, this is getting ridiculous. I’ve already told you that the code leaves a BLANK PAGE your PHP-code is FAULTY!
Check the DEBUG now. And the Page Specific Menu plugin is not the plugin causing this, I already tried your code without the plugin activated and it still doesn’t work.
Hello again, I have solved it. You ccan now enter the Editor via WP-admin
Yes I am using a child theme. It seems that a security plugin removed the editor feature. I deactiveated this plugin but it still doesn’t work.
Please, I have given you FTP-access. Please go through the FTP and make the changes. Or make proper changes to your code so it works, because it doesn’t when I past it in my child themes functions.phpHello
Ok but there is nothing in the function.php for the child theme. I realize you are more people answering my questions but please stay consistent.
When I add this to either the enfolds regular functions.php or the enfold child functions.php I get a blank screen.
I still get a blank screen in other words, nothing has changed.
Hey
User is admin already…You can’t go through FTP?
Remember the font is Roboto:300I have activated the child theme and when I paste the code for the fonts in functions.php it doesn’t work and everything goes blank?
Does it have to be in a child theme? I don’t use a child theme at this moment …
-
AuthorPosts