socialpyramid
Forum Replies Created
-
I have the same problem! It would be awesome to be able to put some text or photos before the form.
ThanksGood advice, thanks!
Hi. Thanks for the response! That was helpful to learn, and that did make the slider appear, although I could only get it at the very top or very bottom of the page, not where I want it (below the nav).
I tried adding in a hook to say pagelines_after_primary-nav but didn’t get that to work. I don’t really know how hooks work, if you need to install something somewhere else. I just tried typing that with the plugin code (the plugin is installed), and that didn’t do anything.
There’s a suggestion here to put it on the loop page https://www.pagelines.com/forum/topic/8611-plugin-php-code-in-template/, but I don’t see anywhere on that page to put it. Nothing there seems to relate to just the homepage or the nav, it seems like all actual post stuff. If I paste the code at the top of the loop page it puts the slider on every page of the site, which is no good.
Thanks
Hi. How did you find the template to put that code in? My index.php file doesn’t have anything in it, it just loads other stuff from the theme (PageLines).
I have never used PHP and I’m not a programmer although I am pretty good with WordPress and computers in general. Thanks again!
I’ll give this a try and investigate further when I get back in town from a trip.
BestHi Rinat. Thanks for the detailed response! I really appreciate that.
The shortcode additions make a lot of sense, thanks for sharing that. I’m a newbie though and I don’t quite know how to implement the last part, namely “Then you’ll need to add your custom filter to a hook “fu_after_upload” to save your additional information.”
I see in that link it says this: add_action( ‘fu_after_upload’, function( $attachment_ids ) { // do something with freshly uploaded files // This happens on POST request, so $_POST will also be available for you } );
I’m not sure how to modify that string in this case for those fields, but I suspect I have to tell it to address those fields in particular. Also, does this after upload code go on the same page as the other shortcode?
Thanks!