muydelpalo
Forum Replies Created
-
Thank you very much Cais!
I have tried it but can’t seem to get the effect I am looking for. Guess it’s for more advanced users. But thanks for your help anyway!
Hi! Thank you! I have been able to create the template and load it. Now the previous/next buttons look the way I want!
However, even though AJAX pagination is enabled on gallery settings, it has stopped working.
Also, I think I need to change this line of code to erase the
<a>
element, so nothing happens when you click on the picture, but I don’t know what I should write<div class="pic"><?php echo $image->href_link ?></div>
Thanks again for the help!
Forum: Hacks
In reply to: Full background gallery imageThank you, bcworkz!
What I am actually looking for is a coded solution to this design. I don’t like using plugins when I have a very concrete need to fulfill. Thus I was asking for help to at least guide my steps. Maybe there is someone out there who has already done this or knows how I should address it.
I guess it will require the use of php, css and jquery. Maybe I could tweak Jetpack’s carousel, but I don’t really know if it’s really worth trying. As far as I know, image galleries are wordpress related, not theme related, so I don’t really know how to proceed. Maybe I am wrong.
I am currently working on a local install, so I don’t mind fiddling around with code until I get what I’m looking for. Also, it is a good way to learn.
Forum: Plugins
In reply to: [Contact Form 7] From field fetches wrong emailOk, this feels kind of stupid but just in case someone else has this issue check your functions.php file and delete the following lines:
add_filter('wp_mail_from', 'new_mail_from'); add_filter('wp_mail_from_name', 'new_mail_from_name'); function new_mail_from($old) { return '[email protected]'; } function new_mail_from_name($old) { return 'name'; }
Forum: Plugins
In reply to: [Contact Form 7] From field fetches wrong emailSo, I’ve been doing some testing and it turns out the same thing happens with the plugin BackWPuP. It is supposed to send notifications from an email but it is overridden by it also gets the main email. I guess something is overriding it, maybe another plugin… You ever heard about this?
Forum: Plugins
In reply to: Infinite scroll with static home pageHi! first you need to make sure the footer is enabled. I added these two pieces to functions.php of code I found online and it works.
Hope this helps!
add_theme_support( 'infinite-scroll', array( 'container' => 'content', 'posts_per_page' => 21, ) );
function tweakjp_custom_is_support() { $supported = current_theme_supports( 'infinite-scroll' ) && ( is_home() || is_archive() || is_page() ); return $supported; } add_filter( 'infinite_scroll_archive_supported', 'tweakjp_custom_is_support' );
Forum: Plugins
In reply to: Admin menu and toolbar hacksHi again! I figured out the first point when I was in the shower!
This is the code I was looking for:// Add menu item for categories function add_cat_admin_menu_item() { // $page_title, $menu_title, $capability, $menu_slug, $callback_function add_posts_page(__('category1'), __('category1'), 'read', 'edit.php?post_status=all&post_type=post&action=-1&m=0&cat=45&seo_filter&filter_action=Filter&paged=1&mode=list&action2=-1'); } add_action('admin_menu', 'add_cat_admin_menu_item');
Everything that comes after edit.php? is actually the URL that shows up when I filter the posts by category. Just change 45 with your category ID. I don’t know if every chunk is necessary or it comes from SEO plugins and stuff…
Anyway, there is only points number 2 and 3 left. Please, any ideas?
It was the footer thing! wow, I feel rather stupid now, it was so simple! Thank you very much for your time Richard!
Hi Richard! Thank you for the quick response.
I’ve managed to get infinite scroll to work, it had something to do with content.php and similar files that I was not using correctly.
It hasn’t worked with Carousel though. Currently I am working on a local install with MAMP (could that be the problem?) so maybe I can send the files or post some specific code to pastebin
Thanks again for your time!Forum: Fixing WordPress
In reply to: wp-query getting unexpected result. Please help!Thanks for answering!
I tried replacing query-posts(); with WP_Query() and $query-> as you explained, but it hasn’t worked, all I got was all the five <section> displaying each all the posts, regardless of post type
Here’s my pastebin, sorry the code is quite long, but, as you’ll see, there are many if/else statements.
Just to make sure I haven’t done anything wrong that is not showing here, I’ll explain the process
In functions.php I created the 4 first custom post types and metaboxes for them as explained here and here
As I couldn’t get any date and time picker fields to work, I used this method to create the fifth post type in a separate file, and used arequire( get_template_directory() . '/inc/file.php' );
to fetch it. But, some of the metaboxes I created in functions.php are also attached to this fifth custom post type
I hope it is not too messy, but I can’t figure out how to do it all at once, I am not that php savvy, but working on it!
Anyway, thanks a lot for taking your time to read through all this
Forum: Hacks
In reply to: custom field databaseWell thanks a lot! This will keep me occupied some time, but i’ll keep you posted on the progress
Forum: Hacks
In reply to: custom field databaseSo javascript as well… Do you know what that function is called? Or how to google it?
Forum: Hacks
In reply to: custom field databaseThanks a lot! I think I am going to try and learn some mysql first, it may come handy in the future.
About the field that goes from a dropdown with all the venues to text fields if you want to add a new venue, how can that be done? I’ve been trying to google it but I always get results about dropdown menus on the frontend
Thanks again!
Forum: Fixing WordPress
In reply to: index.html issue after updatingwow! I swear I have been trying ever since I wrote the first post and I got nothing. Guess it fixed itself or something. Thanks for checking jbusci!
Forum: Fixing WordPress
In reply to: index.html issue after updatingI can also get to the login page and the search result site
Any ideas? Pleaseeee