It is currently June 16th, 2024, 1:49 am



Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: WordPress custom field.
PostPosted: June 15th, 2021, 9:24 pm 

Joined: June 15th, 2021, 9:09 pm
Posts: 6
Hello,

I am a web developer.

How do I add a new WordPress custom field for themaPoster template?

My custom field name: example_custom_field

Value: URL (image)

Thanks in advance.


Attachments:
File comment: screenshot
screenshot.jpg
screenshot.jpg [ 63.5 KiB | Viewed 2944 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field
PostPosted: June 16th, 2021, 7:12 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
Hi,

you can do that with custom param like this:

Code:
<param=NAME=VALUE>


However the NAME is from HTML source (not the name which is in your screenshot, it's usually different).

You might need two custom params, one with value for the "Name" field and another for the "Value" field (the field names should be taken from HTML source).

If you can PM me URL and login details and I could take a look.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: June 16th, 2021, 7:43 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
Hi Freddy.

As I understand this, it is to be used as featured image on the blogs grid layout.
This is for a website I post on.

I only use {#cover#} in my TC template so the image is used as featured image + cover inside the post.


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: June 16th, 2021, 8:18 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
Custom params can be used for tons of custom fields (including feature image from URL field).

However themaPoster grabs first image as featured image URL by default already.

If you need something specific - PM me.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: November 18th, 2021, 1:49 pm 

Joined: January 19th, 2017, 6:34 am
Posts: 40
Freddy wrote:
Custom params can be used for tons of custom fields (including feature image from URL field).

However themaPoster grabs first image as featured image URL by default already.

If you need something specific - PM me.


Hello, If my backend HTML code says:
Code:
<input type="text" id="acf-field_619574c492742" name="acf[field_619574c492742]" value="<center><a href=&quot;https://streamtape.com/v/7BkrqLPKBvuAzl1/&quot; target=&quot;_blank&quot;>ST</a></center>">


To add value to this custom field, I should use

<param=acf[field_619574c492742]=VALUE>

??

_________________
0day porn


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: November 18th, 2021, 2:27 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
Yes, that looks correct.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: November 18th, 2021, 3:57 pm 

Joined: January 19th, 2017, 6:34 am
Posts: 40
Freddy wrote:
Yes, that looks correct.



Ok, it recognizes the field correct, BUT, as a value, I want to insert a text string that contains few "<" and ">" which "unlocks" this param function too soon.

Any way to fix this?

_________________
0day porn


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: November 18th, 2021, 4:31 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
Try this format:
Code:
<param=acf[field_619574c492742]>VALUE</param>


Should be fine then.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: November 24th, 2021, 10:55 am 

Joined: January 19th, 2017, 6:34 am
Posts: 40
Freddy what about custom taxonomies, those fields in Wordpress backend require to click add button, and this way of adding custom field as a param doesnt work :(

_________________
0day porn


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom field.
PostPosted: November 24th, 2021, 3:27 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
PM me URL and login details to take a look.

Edit:

Custom params works fine for those fields as well (tested).

Wrote them in PM.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: WordPress custom fields.
PostPosted: March 18th, 2023, 11:54 am 

Joined: March 18th, 2023, 10:42 am
Posts: 2
Hello, Freddy.
Please help me figure out the additional custom fields in WordPress.
(read similar topics on the forum, did not understand)

There are two types of additional custom fields on the site:
ACF and additional Tags fields.

Attachment:
acf.jpg
acf.jpg [ 31.01 KiB | Viewed 1822 times ]

and
Attachment:
tags.jpg
tags.jpg [ 53.13 KiB | Viewed 1822 times ]


I tried adding a template to the text, none of the options worked:
Code:
<param=acf[field_6408740811aeb]=Title shorts>
<param=newtag[actors]=Abigail Mac>

<param=acf[field_6408740811aeb]>Title shorts>
<param=newtag[actors]>Abigail Mac>

<param=acf[field_6408740811aeb]>Title shorts</param>
<param=newtag[actors]>Abigail Mac</param>



Tried on different sites.
Both on the Internet and on a local server.


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom fields
PostPosted: March 18th, 2023, 12:08 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
Hi,

They work fine just the names are different.

They change the name when submitting post, you need to debug request to see them.

Did that in the past, but can't remember correct names.

PM me URL with some login details. Will take a look.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom fields.
PostPosted: March 18th, 2023, 3:01 pm 

Joined: March 18th, 2023, 10:42 am
Posts: 2
Thank you for sending me looking in the right direction.
Found the correct name for Tags.

Code:
<param=tax_input[actors]=Abigail Mac>

Attachment:
tax_in.jpg
tax_in.jpg [ 15.06 KiB | Viewed 1814 times ]


But for the ACF plugin - no.
Tried everything:

title_shorts
acf[field_6408740811aeb]
acf_fields[20]
acf_fields[20][key]
acf-group_64087408d0661-hide
pods_meta_title_shorts

I would love to give access, but I'm currently working on a local server.
I will keep looking for a solution.


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom fields.
PostPosted: March 18th, 2023, 4:40 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12693
Location: Earth
I might need to add one small fix for that plugin.

But I would need a way to test it.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: WordPress custom fields.
PostPosted: May 12th, 2023, 1:57 am 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
I need help checking the checkbox.

This is how it looks when unchecked:

Image

This is how it looks when checked:

Image

Both look the same to me, I have tried:
<param=um_content_restriction[_um_custom_access_settings]=1>
...and also tried everything I could think of.

Name looks different in html source:

<label for="um-admin-restrict-content-hide"><input class="hide-postbox-tog" name="um-admin-restrict-content-hide" type="checkbox" id="um-admin-restrict-content-hide" value="um-admin-restrict-content" checked='checked' />Ultimate Member: Content Restriction</label>

Any help would be appreciated.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC