Forum Replies Created
-
AuthorPosts
-
IT’s at a development url and there’s a plugin preventing the public from viewing it. Please don’t take this wrong, but aren’t the screen grab and my explanation sufficient? It seems like a pretty basic concept/question, to me.
April 16, 2018 at 7:45 pm in reply to: Fullwidth Easy Slider > Image Link > Single Entry > Post limit in dropdown? #942733OK, thanks, standing by.
OK, thanks. We do have the Yoast plugin installed, but Integrating that code with what you gave me above is a little over my head, apparently (just tried it, to no avail). If you feel like showing me how that’d work, please do.. Otherwise, I’ll just hope my client can keep posts in just one category for now, and if not I’ll jump back into this.
Thanks again!
Yeah, this client needs to clear IPs for me to work on the site — can you give me an IP I can ask them to clear for you? Thanks!
OK, I give up — I think we have a sufficient workaround for this using the offset option in the Magazine elements anyway — thanks anyway.
Thanks, but that doesn’t seem to change anything — if there’s nothing entered in the image/media caption field, it still shows the post title as the image caption, on the front end. Got anything else for me? :)
April 13, 2018 at 6:29 pm in reply to: Fullwidth Easy Slider > Image Link > Single Entry > Post limit in dropdown? #941637Thanks for looking, Victoria — is there anyone else on the team you could ask?
Ooh, yeah, that’s much better — that handles the title styling properly, too, so I don’t have to modify that. But it’s too tricky to get multiple categories to show? And if it can only show one, how is it choosing that one — it doesn’t seem to be choosing the Primary Category — do you know how it chooses which category to use as the title?
Thanks!
Here’s what our IT guy said about that: “I need specific ips for them because it doesn’t do it by country (and I don’t know what ips are for what countries).” — anything you can do for me?
April 12, 2018 at 2:27 am in reply to: Fullwidth Easy Slider > Image Link > Single Entry > Post limit in dropdown? #940733Huh? This is the original ticket. @dlikat jumped in and asked some other question and you told here to create a different ticket, but nobody has gotten back to me on this one. Right before @dlikat jumped in, I had given you access (on April 4th, above). If I try to reply to that ticket, it just jumps me down here again. Am I missing something?
April 11, 2018 at 5:33 am in reply to: Fullwidth Easy Slider > Image Link > Single Entry > Post limit in dropdown? #940196But what about the original ticket — you still haven’t responded since I gave you access on the 4th.
Thanks!
Remove the custom post title? Sorry, I don’t understand that one — could you elaborate on that, please?
Thanks
Nice, that’s a good step in the right direction! I added the h1 tag around it (see below), like the other, category header titles, so they look the same.
But there’s no way to show the other categories? Posts are so often in more than one category. Sorry to press on this, but if a user is browsing one category, clicks on a post, and then is taken to a page with a different category title, that’d be pretty confusing, I think.
Oh, also, this category just links to the home page — can we make it link to the archive page for that category?
Thanks again!
add_filter('avf_title_args', 'avf_title_args_mod_category', 10, 2); function avf_title_args_mod_category($args, $id) { $categories = get_the_terms(get_the_ID(), 'category'); foreach($categories as $category) { $args['title'] = '<h1 class="main-title entry-title">'.$category->name.'</h1>'; } return $args; }
Ah, great, perfect — that worked — thanks!
Just worked for me, but I have used these credentials for a few, recent tickets — maybe two of you were trying to log in at the same time…?
Oh, cool, great Hmm, I wonder what changed… oh well, all’s well that ends well! Thanks anyway — sorry to waste your time!
Sure (credentials in PC) — I have those header titles hidden with css, for single post pages — they do work on Archive pages (e.g., https://www.waternewsnetwork.com/category/education/ or see screen grab https://www.evernote.com/shard/s320/sh/f56ed5ba-d7de-42b5-b9a9-fc766663abe6/51e8181ecd261d785ddcde3181c15aca ) — If I could just show “Category: Education” or just “Education” in that strip for all posts in the Education category, that’d be perfect.
Thanks and let me know if you have any other questions!
Sure thing:
OK, that one’s cleared now.
April 4, 2018 at 6:09 pm in reply to: Fullwidth Easy Slider > Image Link > Single Entry > Post limit in dropdown? #937333Sure thing (in private content) — If you edit the Fullwidth Easy Slider on the Frontpage/Home and try to link one of those slides to a post via the Image Link option under the Caption tab, you should see that only posts up through the letter P are available, even though we have plenty of posts available with titles starting with letters after that in the alphabet.
Thanks!
I’m trying to add image captions underneath the large featured image in single post pages. I can’t send you directly to this url, because we have a coming soon page blocking the site, but here’s a screen shot — https://www.evernote.com/shard/s320/sh/0f555ea6-3347-476e-8e6b-60d7dd6e4dc0/c85e8bc412d3026bee39c8363930e088 — in this example, I have nothing entered in the Caption field for the image, so it’s apparently just pulling in the post title by default. My client wants to be able to add captions to their featured images, if they have a caption, but they don’t want to just duplicate the post title there, if there’s no caption — if there’s no caption, they would like there to be no caption showing under the image. Make sense?
Thanks and let me know if you have any other questions.
This is cool, but if I don’t put anything in the image caption field, it automatically pulls from the post title. Is there a way to modify this so, if the client doesn’t add a cation to the image, there’s no caption?
Thanks!
OK, he said he whitelisted your IP — sftp in private content (note, it’s sftp, not ftp) — thanks!!
Well, for this particular job, the client has to whitelist whatever IP I’m working from in order for me to FTP, so can you give me an IP that I can get cleared for you?
OK, he said he couldn’t find any server configuration issues or anything, but he thinks it might have something to do with the
function sti($n)
being
declared twice. He dug up the error, below, and said, if you comment out that function in the child theme, the page renders. But commenting out that function doesn’t solve my problem, because then I see multiple posts in my Magazine elements (even though I have them set to only show 1 post each), and the sticky post functionality still doesn’t seem to be working.Any clues for me, based on this new info? Please let me know if you have any other questions!
2018/03/28 12:38:26 [error] 27373#27373: *370846 FastCGI sent in stderr: “PHP message: PHP Fatal error: Cannot redeclare sti() (previously declared in /home/waternewsnetwork/wordpress/wp-content/themes/enfold-child/functions.php:22) in /home/waternewsnetwork/wordpress/wp-content/themes/enfold-child/functions.php on line 22” while reading upstream, client: 216.103.1.5, server: http://www.waternewsnetwork.com, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “www.waternewsnetwork.com”
Oh, also, on Mar 7th I mentioned regenerating the thumbs didn’t seem to work for me, but I think I just wasn’t hitting the right sequence to regenerate thumbs in the Simple Image Sizes plugin. Yeah, as far as I’m concerned, you can close this topic. Thanks again.
Actually, FYI, I realize the code I ended up using, above, in my Mar 7 post, still just changes the size of the Magazine thumb, which is not actually what I was looking for. What I was actually looking for is a snippet that would set the Magazine element to use the Portfolio thumb. Instead of using the code above, yes, I may as well just use the Simple Image Sizes plugin and just change the size of the Magazine thumb.
Anyway, I’m giving up on this now and just settling for the plugin solution — just wanted to note this for anyone who may be looking for the same solution I was.
Thanks anyway.
No, I did copy it from the forum, but I noticed a plugin I often use — phpenkoder, and email encoder — caused the same issue when I installed it yesterday, so maybe it’s not the fault of the code? I tried disabling all the plugins, though, and it was still causing that issue. Do you think it could have something to do with the server configuration? They have some tight security on this site and I’ve had to have them do several things to enable permissions to add plugins, overwrite theme files, etc. Any ideas for me? Thanks!
Thanks, but that code seems to break my home page — nothing loads below the nav.
Ahh, ok, thanks!
-
AuthorPosts