ACF Page Field group incorrectly appearing on Default Wordpress Posts page - wordpress-theming

I have some text fields I have added to a field group which I intend to show on pages only.
Screenshots on Field group Settings
But they are showing on the standard block editor within posts edit page. Any idea why this may be?
Thanks!
I tried Post Type is not equal to Post but its still showing

You can solve this by adding a validation to each of the rules by pressing the "and" button and adding a validation of "Post Type is equal to page". So the field group will only appear on the post type of pages.

Related

Reference a custom field in NS on the standard HTML transaction form/SO email form

Does anyone know how to reference a NS field in the standard HTML form?
I have a custom field on my SO that links to our external website. The field uses a formula to pull the NS SO internal ID to create the link so we can send it out to the customer. That field works perfect and I was able to get that link to display properly as an element on the standard PDF form layout that gets emailed to the customer as an attachment on the SO notification email.
Now, here is the issue, I don't know how to reference it on the "a href" html tag in the HTML code on the transaction HTML layout. I know the field name/backend ID, I just don't know how to reference it in the "a href" html tag, this is what I have so far:
Securely View, Edit, & Track the status of this order
(in the curly brackets is my field name and I removed the carrots so the exact code would show up in this text box)
Does anyone know how to get that field from the SO form to show up in the Transaction HTML Layout form?
Actually I figured it out. I needed to have the href set as <NLCUSTBODYPG_LINK_SO>.

How can I display spaces in Media Wiki Page Title but not in the URL?

How can I display spaces in Media Wiki Page Title but not in the URL?
Desired Result: if someone types in example.com/w/John1:1-5 then I'd like the page title on that page to show John 1:1-5.
I realize I could create a page at example.com/w/John_1:1-5, but I don't want users to have to type the underscore.
Is there a way to do this without creating a redirect?
Thanks!
You can use the DISPLAYTITLE magic word for this, e.g. {{DISPLAYTITLE:John 1:1-5}}.
$wgAllowDisplayTitle must be set to true order to use it, and $wgRestrictDisplayTitle set to false. The former enables the feature, and the latter permits more than just letter-case changes (i.e. the display title can be anything at all, even quite different from the page title).
If you want to display inbound links on other pages (i.e. you type [[John1:1-5]] but want it to display as John 1:1-5) then the Display Title extension can do that.

Can't access Edit button for custom JIRA field, due to HTML tag in field description

In our JIRA instance, someone thought that because you could put html tags in description fields, that meant that you needed a full complement of tags to use them-- like, including <html> and, critically </html>
So, now we've got a custom field with a description containing a </html> tag, and as you might expect, the browser is not showing anything past that last tag, including any option to delete or edit the field.
Is there any way to use an API, etc to delete this field or change its description?
I'm on JIRA 4.1.2 (I know...)
Managed to solve the issue...
I used either the JIRA Advanced search, or right-click>>Inspect
element to get the ID of the field.
Then hovered over one of the "Configure" links that were showing to get the URL to the configure screen.
Then, I put the correct ID in the URL, and I was able to get back in and remove the offending tags.
That resolved the issue on the Custom Fields screen. Unfortunately, this technique had also been used on the "Field Configuration" screen, which is organized a bit differently.
The URLs to the "Edit" screens from the field configuration are formatted differently, with id= being the particular field configuration you're working with (don't change this one), and position= being the position in the list of the field you're working with (0 based index).
The easiest thing for me was to
Go to the field above the one that was messed up
Click on the Edit link, then
Increment the position parameter in the URL to give me the field I actually needed to change.
Deleted out the rogue HTML and everything was back to normal.

Wordpress Custom Post Type Search

I have a WP installation with a menu/restaurant theme that adds a custom post type for "food". "food" has a title and an excerpt field it doesn't have the regular "content" field. It seems that the default WP search facility will search in the title and the content fields but not the excerpt field.
I've tried several plugins to either add the content field to my custom post type or search in the excerpt field as well as the title field but I've had no success.
Am I missing something obvious?
Many Thanks
We've had a lot of success using Relevanssi plugin for altering WordPress's search functionality. You can have WordPress index custom fields, excerpts, and other things, and also add more or less weight to them in your search results.
In the excerpt's settings, check the box shown in the screenshot below:
and then click the bottom to rebuild your search index.

og:title doesn't correpond with the one I set

I have a question regarding the meta property in php.
I have set
and I have a list of products that need to be displayed on the first page. Whwn I click the first product and click the like button the title that appears is different from the one I set, but when I click the other products and then click like I get the correct title. I tried clearing the cache but it didn't work and I tried verifying the link using http://developers.facebook.com/tools/debug and here it teels me that the title is the one I set.
Can anyone tell me what am I doing wrong or what might be the problem? Or maybe you have a soultion for this. :D
Thanks!
Without seeing the page which is being changed and liked, it's hard to know if I am answering your question, but the information may be useful to you anyway.
The issue may be with how many likes have already added up for the page.
Note that og:title and og:type are only editable initially - after
your page receives 50 likes the title becomes fixed
Source: https://developers.facebook.com/docs/opengraphprotocol/
This has happened to me before. The easy fix/workaround I found was this: I had been appending a query string to the page URL for tracking some stats. That URL with the query string had over 50 likes. Once I changed the query string, or left it off, the page had a different amount of likes. So when I used the Facebook linter/debugger, I used the new URL and it picked up my og:title and description change.
Are you able to post a link to the page you are having this issue with?