dashaluna
Forum Replies Created
-
Forum: Reviews
In reply to: [HM Content TOC] Not as good as it could beHello @thomask,
Thank you for the feedback.
1) The hierarchical TOC is on the list. It isn’t as straightforward, so taking a bit of time. However, it is something I’d like to implement.
2) I’ll look into this, maybe something has changed as it was working before.
Thanks!
DashaForum: Reviews
In reply to: [HM Content TOC] Simple and worksThank you for the feedback @thorned-rose
The reason I went for the current solution is that there is no guarantee that in content there won’t be multiple headers with exactly the same text. I know this is unlikely, but might happen.
In this case, we will have an invalid HTML, because there will be multiple tags with the same
id
.For example:
Some text... <h1>Some Title</h1> Some text... <h1>Some Title</h1> Some text...
Will result in:
<h1 id="some-title">Some Title</h1> <h1 id="some-title">Some Title</h1>
And before the actual headings the anchors are inserted with the same
id
, so both link will just for the first occurrence only. I hope that makes sense.I’m open to suggestions to improve this, bearing in mind that header text might not be unique.
Forum: Plugins
In reply to: [Codepress Menu] Level 3 problem – Solved. Requires plugin code alterationHello,
I’ve manage to sort this out. I’m giving here details in case it will help someone.
One of the issues was that it didn’t work unless you specify AddThis login details and profile ID in the AddThis plugin settings. It would be handy to have a more specific error message for this, but hey ho.
Then, I just used the following code to insert share buttons in specific places, using hooks:
do_action( 'addthis_widget', get_permalink( $post ), get_the_title( $post ), 'below' );
where
below
refers to the AddThis button setting for ‘Bottom Sharing Tool’ in plugin settings.Dasha
Forum: Plugins
In reply to: [Posts 2 Posts] Listing connected pages as they are ordered at admin boxHello,
I think
'connected_orderby' => 'position',
implies that you want to sort that by meta field that’s called ‘position’ is that correct? Do you have a special field you want to oder by?If it’s default admin drag-and-drop order, try instead of lines:
'connected_orderby' => 'position', 'connected_order' => 'asc', 'connected_order_num' => true,
these ones:
'order' => 'ASC', 'orderby' => 'menu_order',
Hope that works. Let me know.
Forum: Plugins
In reply to: [User Taxonomies] Terms not assigned to a user are displayed as tickeddj maskell great, glad it helped someone, I’ve spend hours catching this bug!
Thank you for the explanation of the is_object_in_term() function, makes sense.wptobbe I hope you will make it work now.
I could track the conflict with “Google Analytics” plugin as far as to the content filter:
line 31 file /wp-content/plugins/google-analytics-for-wordpress/frontend/class-frontend.php
add_filter( 'the_content', array( $this, 'the_content' ), 99 );
line 425 file /wp-content/plugins/google-analytics-for-wordpress/frontend/class-frontend.php
function the_content( $text ) { if ( !$this->do_tracking() ){ return $text; } if ( !is_feed() ) { static $anchorPattern = '/<a (.*?)href=[\'\"](.*?)\/\/([^\'\"]+?)[\'\"](.*?)>(.*?)<\/a>/i'; $text = preg_replace_callback( $anchorPattern, array( $this, 'parse_article_link' ), $text ); } return $text; }
It matches !is_feed() condition and goes off to change the mark up of links. However, the $matches array is empty following the call of preg_replace_callback(), which supposed to return unchanged $text, but instead returns empty string.
Any ideas why it returns empty string instead of un-changed string when there are no matches of links in the content?
Many thanks,
DashaI have been testing more, to see what settings break Gravity Forms.. and it seems that if I tick
Track outbound clicks & downloads:
setting that the whole form is not displayed.Have anyone experienced this? Does anyone know how to fix this? I would hugely appreciate any help!!
Many thanks,
DashaI’ve noticed that as soon as I specify the manual tracking number than the Gravity Forms breaks (GF).
If I leave the field “Manually enter your UA code: ” blank then GF is working.
No idea why simply specifying the tracking code manually breaks another plugin.Any adea?
I would hugely appreciate any help.Thanks
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Database errorsI’ve been looking at it further and it seems that the tables are named incorrectly?
My DB index is ‘R43my’ starts with capital letter. However, I’ve discovered that in the DB the tables are named as following:
r43my_relevanssi
R43my_relevanssi_cache
R43my_relevanssi_excerpt_cache
R43my_relevanssi_log
R43my_relevanssi_stopwordsPlease note that the table
r43my_relevanssi
is named with all the small letters. I wonder if it breaks before of that.Hopefully the plugin author can look into it.
Many thanks, Dasha
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Terms displayed as IDs, not NameHello,
I figured out how to display text for checkboxes/select/radio inputs in the admin Entry view via filters rather than altering the plugin code.
Add the following code to your functions.php
add_filter( 'gform_entry_field_value', 'admin_entry_view_display_pretty_text', 10, 4); function admin_entry_view_display_pretty_text( $display_value, $field, $lead, $form ){ $field_type = RGFormsModel::get_input_type($field); if( in_array( $field_type, array('checkbox', 'select', 'radio') ) ){ $value = RGFormsModel::get_lead_field_value( $lead, $field ); return GFCommon::get_lead_field_display( $field, $value, $lead["currency"], true ); } else{ return $display_value; } }
I hope that helps someone.
DashaForum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Terms displayed as IDs, not Name@steve, thanks for letting me know. I was wondering if you edit the code? If so, could you give any pointers what function you altered and how?
Many thanks in advance,
DashaForum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Terms displayed as IDs, not NameHello,
Similar problem. Does any one figured out how to display term names in the Entries of the form submission rather terms IDs?
Many thanks, Dasha
Forum: Plugins
In reply to: [Infinite-Scroll] Different HMLT next button markup when plugin is workingAnyone? I would hugely appreciate any help!
Many thanks, DashaForum: Plugins
In reply to: [Gravity Forms + Custom Post Types] multi-select linked to a custom taxonomyHello,
I’ve got plugin version 3.0.1 and WP 3.5.1 it still only saved the first choice in multi select. Any update on this?
Many thanks, Dasha