Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Gail
Can you please share a link to your directory page?
Also, how many entries are you displaying on a single page?
Steven Zahm
Keymaster@ Age
I did a search of the core WordPress codebase. WordPress only sets a reply to header in one scenario. It adds the header to admin user comment notifications. If the user commenter did not supply an email address the field defaults to
wordpress@domain.com.I was just curious under what exact circumstances WP itself uses the reply to header. Not sure if that really adds anything to the discussion…
Steven Zahm
Keymaster@ Age
I do know how to set a reply to header. The reply to header is only required when the reply should be sent to a different address. This does not apply to Contact. The reply should always be sent to the individual whom enter their email address in the contact form. Adding this extra field, which nearly everyone will not understand, would not be a good addition to Contact.
I am under the impression that the Ultimate Branding plugin you are using was setting reply to field via a filter before sending the email.
The code I had you comment out was added to prevent other plugins from messing with email. So, I was curious is removing that code would allow Ultimate Branding to add the reply to field.
Maybe my understanding is not correct… Is Ultimate Branding supposed to be adding the reply to field or not? Honestly, I am a little confused as to why you would want to override the user supplied from address so all replies are sent to you instead of the user supplied email.
Steven Zahm
Keymaster@ Rich
The short answer is, yes, I do think the Custom Entry Order extension will meet your needs.
With this you could set the order of the entries you wish to have list top and in a specific order.
To set an entry to display at the top, you would set the entry order to
1. To have an entry show second, after the entry assigned to1you would assign that entry the order of2. If there is no entry assigned as1, then the entry assigned 2 would actually be first.That said, I would recommend setting order by 10’s or even 100’s. This will allow you the opportunity to insert entries in between others. For example having entries assigned orders of
100,200and300would display those entries in that order at the top. So you could insert an entry in between100and200by assigning the order as150.When filtering by category, the entry order would still be applied.
Hope that makes sense!
Steven Zahm
Keymaster@ Jess
I had to go back and reference the docs on custom template override files…
connections_templatesneeds to beconnections-templates. Change the underscore to a hyphen.Does that help?
Steven Zahm
Keymaster@ Judy
Although I can not find the page on your site with the Market template in use… I did see you are using a custom CSS override file. Perhaps some of your custom CSS accidently removed the indenting. Or, perhaps the new theme (assuming you’ve switched themes) is overriding the applied indenting and removing it.
If you can share a link to the page, I can take a look and offer more specific advice.
Steven Zahm
Keymaster@ Matthew
Ok, the file has been imported! I hope the data is correct (due to me altering headers and removing unmapped columns from the file.
Which host are you using? I’d like to add an exception to CSV Import the batch limit so it’ll only attempt to import 10 rows per batch. I already do this for another host which hard limits max execution to 30 seconds.
Steven Zahm
Keymaster@ Matthew
Ok, I am to get 40 — 60 rows of the CSV file to import by deleting all the columns which are not to be imported. This translates into less processing time.
Now, the issue is the server is responding to with:
<title>504 Gateway Timeout</title> </head><body> <h1>Gateway Timeout</h1> <p>The gateway did not receive a timely response from the upstream server or application.</p> <p>Additionally, a 504 Gateway Timeout error was encountered while trying to use an ErrorDocument to handle the request.</p>PHP seems to be configured with a max execution time of 240 seconds which would be plenty as the average batch should only take about 30 seconds.
But, it seems the host might be “hard” limiting the PHP process to only about 20 seconds. This is just a little too limiting.
With this in mind, I altered the import process so it only imports 10 rows per batch instead on the default 20.
I’ve started the import which should be complete in about 20 minutes assuming it doesn’t timeout.
I’ll let you know the results very soon.
I’ve attached the updated CSV file.
Attachments:
You must be logged in to view attached files.Steven Zahm
Keymaster@ Jess
Oh, question… you are not literally using the
parent-themefolder are you? If you are, that is only a placeholder for the actual theme folder.So in your case it should be something like this:
../wp-content/themes/benevolence-wpl/connections_templates/circled/card.phpSteven Zahm
Keymaster@ Jess
Please create a copy of the card.php file and rename that copy to card.txt. Attach the renamed copy to a reply so I can see. Thanks!
-
AuthorPosts
