dlusionz
Forum Replies Created
-
hey there !
many thanks for your continued support !
I couldn’t find the add_filter, so I went to the second tip you mentioned but it didn’t seem to work, going to take this back to the theme developers see if they are willing to help
Im sending you a PM with the theme btw incase you want to give it a go, no pressure though im sure you have other things to do and at the end of the day I understand your plugin is free so I cant really ask for much
thanks again !
update !
it seems these forums dont have a PM feature haha, let me know if you have an email where I could send you that
- This reply was modified 8 years, 4 months ago by dlusionz.
I wouldn’t mind losing the custom mega menu that extra provides in order for this plugin to work, not sure if that makes it easier
let me know if you have any ideas on how I could manage to pull this off
Hey there,
Reporting back, here is the answer I got
Hi, actually adding that custom hook to the Extra walker menu was discussed with the Dev team, and since that’s not a default wordpress hook, or it’s not the default functionality that come with Extra, I’m afraid you will have to try to customize it your self.
Extra creates a custom menu walker, which is in the file called /wp-content/themes/Extra/includes/modules.php on line 1404.
I don’t know much about this sort of thing, but heres whats on that line
function init_extra_walker_categorydropdown() { class Extra_Walker_CategoryDropdown extends Walker_CategoryDropdown { function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { $pad = str_repeat( ' ', $depth * 3 ); /** This filter is documented in wp-includes/category-template.php */ $cat_name = apply_filters( 'list_cats', $category->name, $category ); $output .= "\t<option class=\"level-$depth\" value=\"".$category->term_id."\""; $output .= '<%= typeof( data.' . $args['name'] . ' ) !== \'undefined\' && \'' . $category->term_id .'\' === data.' . $args['name'] . ' ? \' selected="selected"\' : \'\' %>'; $output .= '>'; $output .= $pad.$cat_name; if ( $args['show_count'] ) $output .= ' ('. number_format_i18n( $category->count ) .')'; $output .= "</option>\n";
Not sure how complicated it would be to make it work here, but hope you can help or point me in the right direction
Hey there Diana ! thanks for the quick reply,
Ive reached out to ET with the information you provided, their initial reply was commenting how it wasn’t part of WP Core that maybe they wouldn’t do it, which I guess I understand, but ill keep insisting, if not I guess ill stick to the divi theme, its a dealbreaker if I cant use your plugin ??
Forum: Plugins
In reply to: [Bogo] URL for languages return a Not Found error.Hi im having a similar issue
1. Installed plugin
2. installed french language files and put them into wp-content/languages
3. created a page in english ( default language)
4. used admin bar to switch languages, but it didnt say french, it says “rosetta-fr_FR”
5. trying to view the page in french gives a 404 error
6. the dashboard never changed to french while creating the page
7. the documents in /languages are rosetta-fr_FR.mo, rosetta-fr_FR.po and shots-fr_fr.pngI′m not sure how to fix the issue, ive tried changing the rewrite rules to fix the 404 error with no luck
hope you can help, thanks in advance
Forum: Plugins
In reply to: [Shashin] [Plugin: Shashin] Fancybox for WordPresshey thestormtrooper, how did you configure these plugins to work together? I have both installed but I’m clueless as to what to put in the settings of either so they work together
thanks in advance
Forum: Fixing WordPress
In reply to: how to retrieve custom field value as a functionhey! I read up on some similar but significantly different posts on here and I fixed it now, it seems I needed to have
<?php global $post; ?> before anythingthanks again though!
Forum: Fixing WordPress
In reply to: how to retrieve custom field value as a functionhi, thanks for the answer, the name of the CF is indeed “site”, but its not exactly working, It apparently is not retrieving de post ID correctly, if I refer to it manually it works, but if I don’t it does′t echo anything
do you have any ideas?